aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vim/skel/tex65
-rw-r--r--.vimrc3
2 files changed, 64 insertions, 4 deletions
diff --git a/.vim/skel/tex b/.vim/skel/tex
index 4b79470..ab68c32 100644
--- a/.vim/skel/tex
+++ b/.vim/skel/tex
@@ -1,18 +1,77 @@
-\documentclass[letter,12pt]{article}
-\usepackage[margin=1in]{geometry}
+\begin{filecontents}[overwrite]{\jobname.bib}
+\end{filecontents}
+
+
+
+\documentclass[letter,11pt]{article}
+\usepackage[margin=.7in]{geometry}
+
+\usepackage[
+ short,
+ notes,
+ backend=biber,
+ sorting=nty,
+ sortcites=true
+]{biblatex-chicago}
+
+\addbibresource{\jobname.bib}
+
+
+
+\usepackage{fontspec}
\usepackage{xeCJK}
-\setCJKmainfont[Scale=.8]{IPAMincho}
+\usepackage{amsmath,amsthm,amssymb}
+\usepackage{unicode-math}
+
+\setmainfont{Domitian}
+
+\setmathfont[Scale = MatchLowercase]{Asana-Math.otf}
+
+\setCJKmainfont{Noto Serif CJK JP}
+
+\usepackage{etoolbox}
+\AtBeginEnvironment{equation}{\large}
+\AtBeginEnvironment{equation*}{\large}
+
+\usepackage{relsize}
+
+\usepackage{setspace}
+\setstretch{1.02}
+
+
+
+\usepackage{multicol}
+
+\renewenvironment{quote}{%
+ \list{}{%
+ \setlength{\rightmargin}{0pt}%
+ \setlength{\leftmargin}{0pt}%
+ \smaller%
+ }%
+ \item\relax%
+}{\endlist}
+
+\renewcommand{\abstractname}{abstract}
\title{}
\author{}
\date{%DATE%}
+
+
\begin{document}
\frenchspacing
\maketitle
+\begin{multicols}{2}
+
%START%
+\end{multicols}
+
+\setlength{\bibhang}{0pt}
+\printbibliography[title={references}]
+
\end{document}
diff --git a/.vimrc b/.vimrc
index 5ff80c4..78ccaeb 100644
--- a/.vimrc
+++ b/.vimrc
@@ -334,7 +334,7 @@ fun! s:settings_skel_read()
"read the date into %DATE%
exec '%s/%DATE%/' . system("date '+%a, %B %d, %Y'|tr -d '\n'") . '/ge'
"move cursor to %START%
- exec "silent! normal! ggJ/%START%\<CR>:s/%START%//\<CR>"
+ exec "silent! normal! ggJ/%START%\<CR>:s/%START%//\<CR>zz"
endfun
"run vader tests on the current file
@@ -551,6 +551,7 @@ fun! s:settings_tex()
nnoremap <buffer> <Leader>C :!latex -output-format=pdf "%"<CR>
nnoremap <buffer> <Leader>x :!xelatex "%"<CR><CR>
nnoremap <buffer> <Leader>X :!xelatex "%"<CR>
+ nnoremap <buffer> <Leader>b :!biber "%:r"<CR><CR>
endfun
fun! s:settings_text()