-
Notifications
You must be signed in to change notification settings - Fork 0
/
diss.tex
100 lines (77 loc) · 2.4 KB
/
diss.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
% Change to 'masters' to produces the masters thesis preliminary pages
\documentclass[oneside,bs,etd]{WSUclass}
%\usepackage{times}
\usepackage{import}
% preamble contains title page, signature page, acknowledgment and abstract texts
\usepackage{preamble}
\usepackage{listings,xcolor}
\usepackage{subcaption}
\lstset
{ %Formatting for code in appendix
language=Python,
basicstyle=\footnotesize,
identifierstyle=\ttfamily,
numbers=left,
numberstyle=\tiny\color{gray},
stepnumber=1,
showstringspaces=false,
tabsize=2,
breaklines=true,
breakatwhitespace=false,
xleftmargin=5.0ex
}
% Pacakges used
\usepackage[utf8]{inputenc} % Remove warning on ascii conversion
\usepackage[T1]{fontenc} % Remove warning on ascii conversion
%\usepackage[refsection=part,backend=biber,style=phys]{biblatex}
%\usepackage[refsection=part,citestyle=ieee,style=ieee,natbib=true,backend=biber]{biblatex}
\usepackage[refsection=part,citestyle=phys,style=phys,natbib=true,backend=biber]{biblatex}
\usepackage{hyperref}
% Make chapter numbers into string words 1 -> ONE
\usepackage{fmtcount}
\makeatletter
\renewcommand{\@makechapterhead}[1]{\vspace *{40\p@ }{\parindent \z@
\raggedright \normalfont \ifnum \c@secnumdepth >\m@ne \Huge \bfseries
\@chapapp \space \Numberstring{chapter} \vskip 10\p@ \fi #1\par \nobreak \vskip 30\p@ }}
\makeatother
\addbibresource{bib.bib}
\begin{document}
\hypersetup{breaklinks=true}
% Start page counting in roman numerals
\frontmatter
% This command makes the formal preliminary pages.
% You can comment it out during the drafting process if you want to save paper.
\makepreliminarypages
\doublespace
% Make the table of contents.
\pagebreak
\tableofcontents
\thispagestyle{plain}
% Make the list of tables
\lstlistoflistings
\thispagestyle{plain}
% Make the list of figures
\mylistoffigures
\thispagestyle{plain}
% This page is OPTIONAL. To remove, comment out and \dedicationpage in diss.tex
%\dedicationpage
\clearemptydoublepage
% Start regular page counting at page 1
\mainmatter
% OK. Everything is set up. Type your thesis here.
\include{chapter1/ch1}
\include{chapter2/ch2}
\include{chapter3/ch3}
\include{chapter4/ch4}
\include{chapter5/ch5}
\include{app/app}
% Bibliography
\begingroup
\setlength\bibitemsep{10pt}
\linespread{1}\selectfont
\printbibliography[title=REFERENCES]
\endgroup
\addcontentsline{toc}{part}{REFERENCES}
% Appendices
% \include{app}
\end{document}