tmux
[dotfiles.git] / .vim / templates / skeleton.tex
1
2 \documentclass[11pt]{article}
3 \setlength{\parskip}{1.5ex}
4
5 \usepackage{amsfonts,amsmath,amssymb,enumerate,mathtools}
6 \usepackage{titlesec,titling}
7 \usepackage{float}
8 \usepackage[margin=0.5in,bottom=0.25in,top=0.4in]{geometry}
9 \usepackage[shortlabels]{enumitem}
10 \setlist{nosep}
11
12 % \usepackage{import}
13 % \usepackage{xifthen}
14 % \usepackage{pdfpages}
15 % \usepackage{transparent}
16
17 % \usepackage{graphicx}
18 % \graphicspath{ {./resources/} }
19
20 \newcommand{\incfig}[2][1]{%
21     \def\svgwidth{#1\columnwidth}
22     \import{./resources/}{#2.pdf_tex}
23 }
24
25 \titleformat{\section}
26 {\large\bfseries}{}{0em}{}[\titlerule]
27 \titlespacing{\section}
28 {0em}{0em}{0.3em}
29
30 \titleformat{\subsection}
31 {\bfseries}{}{0em}{}
32 \titlespacing{\subsection}
33 {0em}{0em}{-0.5em}
34
35 \renewcommand{\maketitle}{
36     \begin{center}
37         \textbf{\thetitle}\\
38         \theauthor\\
39         \thedate
40     \end{center}
41 }
42 \begin{document}
43 \parindent=0pt
44
45 \title{TITLE}
46 \author{Daniel Liu}
47 \date{DATE}
48 \maketitle
49
50
51
52 \end{document}
53