-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble.tex
131 lines (105 loc) · 3.79 KB
/
preamble.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
\usepackage[letterpaper,margin=1.00in]{geometry}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{amsmath,amssymb}
\usepackage{times}
\usepackage{booktabs}
\usepackage{url}
\usepackage{paralist}
\usepackage{listings}
%\usepackage[colorlinks,linkcolor=blue, citecolor=blue]{hyperref}
\usepackage{doi} % For making DOI's clickable in bibliography
%\usepackage[numbers,sort&compress]{natbib}
\usepackage{graphicx}
\usepackage{multirow}
\usepackage{pdfsync}
\usepackage{color}
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
\usepackage{bbm}
\usepackage{verbatim} % Allows for comment environment
\usepackage{wrapfig}
\usepackage{pdfpages} % For inserting pdf pages and colors
\usepackage{mdwlist}
%\usepackage{refcheck} % For checking references
\usepackage{amsmath,amssymb}
\usepackage{enumitem}
\usepackage{outline}
\usepackage{xspace}
\usepackage{paralist}
\usepackage{pgfgantt}
\usepackage{pifont}
%\usepackage[normalem]{ulem} % added package to get strikeout font type (\sout{})
\usepackage{fancybox}
\usepackage{mdframed}
\newmdenv[
topline=false,
bottomline=false,
skipabove=\topsep,
skipbelow=\topsep,
innertopmargin=0pt,
innerbottommargin=0pt,
splittopskip=0pt,
splitbottomskip=0pt
]{siderules}
\newenvironment{myitemize}
{\begin{list}{{\small\ding{226}}}{
\topsep=0mm
\leftmargin=6mm
\labelwidth=3mm
\itemsep=0em
\labelsep=2mm
}}{\end{list}}
%\begin{list}{label code}{body code}
\newmdenv[
topline=false,
bottomline=false,
leftline=false,
rightline=false,
skipabove=\topsep,
skipbelow=\topsep,
innertopmargin=0pt,
innerbottommargin=0pt,
splittopskip=0pt,
splitbottomskip=0pt
]{nlsiderules}
\usepackage[belowskip=-2pt,aboveskip=4pt, font={small,bf}]{caption}
\usepackage[explicit]{titlesec}
%\titleformat{\section}
% {\normalfont\Large\bfseries}{\thesection}{1em}{#1}[{\titlerule[0.8pt]}]
%\titlespacing{\section}{0pt}{*1.7}{*1.25}
\titlespacing*{\subsection}{0pt}{*1.5}{*0.2}
\titleformat{\subsection}{\bfseries}{\thesubsection}{1em}{#1}
\titleformat{\subsubsection}{\slshape}{\thesubsubsection}{1em}{#1}
\titlespacing*{\subsubsection}{0pt}{*1}{*0.2}
%\titlespacing{\subsubsection}{0pt}{*0.105}{*0.50}
\titleformat{\paragraph}[runin]{\slshape}{\theparagraph}{1em}{#1}[.]
\titlespacing{\paragraph}{0pt}{*0.105}{*1.00}
%\setlength{\intextsep}{-1ex} % remove extra space above and below in-line float
%\setlength{\abovecaptionskip}{-1ex} % remove extra space above float caption
%\setlength{\belowcaptionskip}{-0ex} % remove extra space below float caption
%\setlength{\intextsep}{10pt plus 2pt minus 2pt}
%\usepackage{titlesec}
%\titleformat{\subsection}[runin]{\normalfont\bfseries}{\thesubsection}{1em}{}[.~~]
%\titleformat{\subsubsection}[runin]{\normalfont\itshape}{\thesubsubsection}{1em}{}[.~~]
% The * version of titlespacing removes the indent on the first paragraph of a section
\titlespacing*{\section}{0pt}{*2.5}{*1}
%\titlespacing*{\subsection}{0pt}{*1}{*0.15}
%\titlespacing*{\subsubsection}{0pt}{*1}{*0.15}
%\newcommand{\subsubsubsection}[1]{\vspace{1pt} \noindent \textbf{#1}}
\usepackage{array,booktabs,tabularx}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\newcommand{\smallurl}[1]{{\small\url{#1}}} % For working version
%\newcommand{\sout}[1]{\textcolor{blue}{Strike: #1}} % For working version
%\newcommand{\pagebudget}[1]{\textcolor{blue}{#1}} % For working version
%\newcommand{\pagebudget}[1]{} % In final version
%\renewcommand{\cite}[1]{\citepri{#1}}
\newcommand{\itemsskip}{\vspace*{10pt}}
\newcommand{\tinyskip}{\vspace*{2pt}}
\epstopdfDeclareGraphicsRule{.gif}{png}{.png}{convert gif:#1 png:\OutputFile}
\AppendGraphicsExtensions{.gif}
\usepackage[usenames,dvipsnames,svgnames]{xcolor}
%\newcommand{\zapspace}{\topsep=0pt\partopsep=0pt\itemsep=0pt\parskip=0pt}
%\usepackage{caption}
%\usepackage{subcaption}
\newcommand\code[1]{{\tt {\small #1}}}