-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.tex
123 lines (107 loc) · 3.16 KB
/
template.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
%% Modified from the original thesisdown template.tex
%%
%% Preamble
%%
\documentclass[12pt]{article}
% Packages are extensions to the basic LaTeX functions. Whatever you
% want to typeset, there is probably a package out there for it.
% Chemistry (chemtex), screenplays, you name it.
% Check out CTAN to see: https://www.ctan.org/
\usepackage{amsmath}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{amstext}
\usepackage{amsthm}
\usepackage{chemarr} %% Useful for one reaction arrow, useless if you're not a chem major
\usepackage{booktabs}
\usepackage[hyphens]{url}
\usepackage{hyperref}
\usepackage{lmodern}
\usepackage{float}
\floatplacement{figure}{H}
\usepackage{calc}
\usepackage{rotating}
% Loads the YSU Style Package (YSU.sty)
\usepackage{YSU}
% For pandoc to work
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% needed for proper highlighting
$if(highlighting-macros)$
$highlighting-macros$
$endif$
% From {rticles}
$if(csl-refs)$
\newlength{\csllabelwidth}
\setlength{\csllabelwidth}{3em}
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
% for Pandoc 2.8 to 2.10.1
\newenvironment{cslreferences}%
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
{\par}
% For Pandoc 2.11+
% As noted by @mirh [2] is needed instead of [3] for 2.12
\newenvironment{CSLReferences}[2] % #1 hanging-ident, #2 entry spacing
{% don't indent paragraphs
\setlength{\parindent}{0pt}
% turn on hanging indent if param 1 is 1
\ifodd #1 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi
% set entry spacing
\ifnum #2 > 0
\setlength{\parskip}{#2\baselineskip}
\fi
}%
{}
\usepackage{calc} % for calculating minipage widths
\newcommand{\CSLBlock}[1]{#1\hfill\break}
\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}}
\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}}
\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1}
$endif$
%%% Thesis-specific information
\title{$thesis_title$}
\author{$author$}
% NOTE the change to the \date command. This is important for the copyright page
\date{$thesis_month$}{$thesis_year$}
\YSUdegree{$thesis_degree$}{$thesis_program$}
\committee{$thesis_advisor$}{$committee_memA$}{$committee_memB$}
\begin{document}
%%% Frontmatter
\createtitlepage
\createsignaturepage
%%% Copyright page (optional)
%%% YSU Grad College guidelines state to delete this page if copyright
%%% not registered with copyright.gov
\createcopyrightpage
%%% Abstract is required. Double-spaced, maximum one (1) page
\begin{abstract}
\normalsize
\input{frontmatter/abstract}
\end{abstract}
%%% Acknowledgements (optional)
\begin{aknowledgements}
\normalsize
\input{frontmatter/acknowledgements}
\end{aknowledgements}
%%% Table of contents
\tableofcontents
%%% List of Tables (optional)
\listoftables
%%% List of Figures (optional)
\listoffigures
%%%%% Main body of Thesis
\begin{thesis}
$body$
\end{thesis}
\end{document}