forked from cardozo3333/msThesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dissertation.tex
111 lines (87 loc) · 2.82 KB
/
dissertation.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
% Place an \includeonly here to only compile certain parts
% e.g.: \includeonly{title,chapter-first,references}
\documentclass[12pt,oneside]{book}
\usepackage[T1]{fontenc}
\usepackage{fancyhdr} % For page number in the upper right
% (required) and other running headers
% (optional)
\usepackage{setspace} % For double-spacing (required)
\usepackage{titlesec} % For keeping section/chapter titles
% single-spaced
\usepackage{etoolbox} % For the flag determining if front matter
% goes into the TOC
\usepackage{blindtext} % For generating dummy text in the sample
\usepackage{amsmath,graphicx,multirow,diagbox,amssymb,extpfeil,color,epstopdf}
%\usepackage{natbib}
\usepackage{subcaption}
\usepackage{graphicx,adjustbox,pdflscape,tabu,diagbox,algorithm2e}
\SetKwInOut{Parameter}{parameter}
\newcommand{\tabitem}{~~\llap{\textbullet}~~}
\DeclareMathOperator*{\argmin}{argmin}
% Header height (to avoid fancyhdr error)
\setlength{\headheight}{13.6pt}
% Header formatting for regular pages
\fancyhf{}
\fancyhead[L]{\it\small\leftmark}
\fancyhead[R]{\small\thepage}
% Header formatting for chapter title pages
\fancypagestyle{plain}{%
\fancyhf{}
\fancyhead[R]{\small\thepage}
\renewcommand{\headrulewidth}{0pt}
}
% Formatting of chapter and section titles: keep them single-spaced in the
% midst of double-spaced text
\titleformat{\chapter}[display]%
{\bfseries\singlespacing\Large}%
{Chapter~\thechapter}%
{1em}%
{\LARGE}
\titleformat{\section}[hang]%
{\bfseries\singlespacing\Large}%
{\thesection}%
{0.25in}%
{}
\titleformat{\subsection}[hang]%
{\bfseries\singlespacing\large}%
{\thesubsection}%
{0.25in}%
{}
% Flag for whether to add front matter to TOC
\newtoggle{fulltoc}
\togglefalse{fulltoc} % Change to \toggletrue{fulltoc} to include front matter
\begin{document}
% Title page
\include{01-title}
% All subsequent pages must be numbered, title page is considered page i,
% front matter is numbered in lowercase Roman numerals
\pagestyle{fancy}
\pagenumbering{roman}
\setcounter{page}{2}
\doublespacing
% Dedication (optional)
\include{02-dedication}
% Biographical sketch
\include{03-bio}
% Acknowledgments
\include{04-acknowledgments}
% Abstract
\include{05-abstract}
% Contributors and Funding Sources
\include{06-contrib}
% Table of Contents, List of Tables, List of Figures
\include{07-contents}
%%%%%%%%%%%%%%%%%%%% DISSERTATION CONTENT %%%%%%%%%%%%%%%%%%%%
% Regular numbering starts now, first page of first chapter is page 1
\clearpage
\setcounter{page}{0}
\pagenumbering{arabic}
% Body
\include{08-chapter-01}
\include{depth_interp/08-chapter-02}
\include{hazerd/08-chapter-03}
\include{08-chapter-04}
% References
\clearpage
\include{09-references}
\end{document}