From 5bcffe6e8c08688e69c9b0765bfb34369b2175dc Mon Sep 17 00:00:00 2001 From: katherine Date: Sat, 2 Dec 2023 10:39:02 -0700 Subject: vim tex skel --- .vim/skel/tex | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to '.vim/skel') diff --git a/.vim/skel/tex b/.vim/skel/tex index efb649a..1f63cbc 100644 --- a/.vim/skel/tex +++ b/.vim/skel/tex @@ -5,7 +5,12 @@ \documentclass[letter,11pt]{article} -\usepackage[margin=.7in]{geometry} +\usepackage[ + left=.7in, + right=.7in, + top=.703in, + bottom=.703in +]{geometry} \usepackage[ short, @@ -17,9 +22,13 @@ \addbibresource{\jobname.bib} +\newcommand{\ac}[2][]{{\smaller\normalfont\ifthenelse{\equal{#1}{}}{\autocite{#2}}{\autocite[#1]{#2}}}} +\newcommand{\acp}[2][]{\ +{\smaller\normalfont\ifthenelse{\equal{#1}{}}{\autocite{#2}}{\autocite[#1]{#2}}}\hspace{\fontdimen7\font}} \usepackage{microtype} +\microtypesetup{tracking=smallcaps,letterspace=50} \usepackage[match]{luatexja-fontspec} \ltjsetparameter{jacharrange={-2,-3}} \usepackage{luatexja-ruby} @@ -59,8 +68,6 @@ \usepackage{setspace} \setstretch{1.14} - - \usepackage{multicol} \renewenvironment{quote}{% @@ -88,6 +95,21 @@ \makeatother +\newcommand{\dd}{.~.~.\@} +\newcommand{\ddd}{.~.~.~.} +\newcommand{\di}{[...\@]} + +\newlength{\footnoteback} + +\newcommand{\fns}[1]{% + \setlength{\footnoteback}{\skip\footins}% + \setlength{\skip\footins}{#1}% +} + +\newcommand{\fnr}{\setlength{\skip\footins}{\footnoteback}} + + +\usepackage[unicode,colorlinks=false]{hyperref} \begin{document} -- cgit v1.2.3