-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreamble.tex
100 lines (71 loc) · 2.44 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
\documentclass{Dissertate}
\usepackage{amssymb,amsmath,amsfonts,amsthm}
\usepackage{graphicx,float}
\usepackage{booktabs,tabularx}
\usepackage{subcaption}
\usepackage[section]{placeins}
\usepackage{algorithm,algorithmic}
\usepackage{verbatim}
\usepackage{hyperref}
\usepackage[english]{babel}
\usepackage{thmtools}
\usepackage{thm-restate}
\usepackage{epic,array}
\usepackage{multirow}
\usepackage{fmtcount}
\usepackage{bm,bbm}
\usepackage{datetime}
\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\usepgfplotslibrary{groupplots}
\usepackage{pgfplotstable}
\usepackage{colortbl}
\usepackage[version=3]{mhchem}
%%%FIGURE SETUP - please do not change any commands within this section%%%
\usepackage{xcolor}
\definecolor{cream}{RGB}{222,217,201}
\makeatletter
\newlength{\figrulesep}
\setlength{\figrulesep}{0.5\textfloatsep}
\newcommand{\topfigrule}{\vspace*{-1pt}%
\noindent{\color{cream}\rule[-\figrulesep]{\columnwidth}{1.5pt}} }
\newcommand{\botfigrule}{\vspace*{-2pt}%
\noindent{\color{cream}\rule[\figrulesep]{\columnwidth}{1.5pt}} }
\newcommand{\dblfigrule}{\vspace*{-1pt}%
\noindent{\color{cream}\rule[-\figrulesep]{\textwidth}{1.5pt}} }
\makeatother
%%%END OF FIGURE SETUP%%%
% \newcommand{\ang}{\text{\normalfont\AA}}
% Math formatting
\usepackage[mathscr]{euscript} % alternative curly script %eucal
% Fix the conflict between mathptmx package and the mathcal font
\let\saveboldmath\boldmath
\usepackage{mathptmx}
\let\boldmath\saveboldmath
\DeclareSymbolFont{cmsymbols}{OMS}{cmsy}{m}{n}
\SetSymbolFont{cmsymbols}{bold}{OMS}{cmsy}{b}{n}
\DeclareSymbolFontAlphabet{\mathcal}{cmsymbols}
\interfootnotelinepenalty=10000 % Force the footnotes to not break awkwardly.
% Figures & tables:
\usepackage{epstopdf} % EPS graphics
% For some environments we switch back to single-spacing, also
% provides \dsp in case you need double-spacing where single-spacing
% is otherwise used.
\def\ssp{\def\baselinestretch{1.0}\large\normalsize}
% 1.9 is close enough to 2.0 to satisfy harvard university:
\def\dsp{\def\baselinestretch{1.85}\large\normalsize}
\def\hsp{\def\baselinestretch{1.2}\large\normalsize} % intermediate spacing
\numberwithin{equation}{section}
\newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}}
\newcommand\blankpage{%
\vspace*{\fill}
\hfill
\begin{center}
This page intentionally left blank.
\end{center}
\vspace{\fill}
\thispagestyle{plain}
\newpage
}