-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.tex
executable file
·66 lines (46 loc) · 1.59 KB
/
example.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
\documentclass[12pt,oneside,letterpaper]{memoir}
% Use this package
\usepackage{thesis}
% You can use any fonts, there is no formatting restriction.
\usepackage{lmodern}
\usepackage{tgpagella}
% Make cross references clickable, enable `hidelinks` to remove boxes
\usepackage[hidelinks]{hyperref}
% Set natbib style, you can use any packages you like
\usepackage{natbib}
\setcitestyle{sort,compress,numbers,square,comma}
% These packages are for the sample document only
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{booktabs}
% Define thesis information
\title{A Minimum Working Example of the Dissertation Template for UW-Madison}
\author{Student Name}
\department{Computer Sciences}
\deposityear{YYYY}
\defensedate{MM/DD/YYYY}
% Define committee members, you can add more.
\committeemember{Faculty Name, Professor, Computer Sciences}
\committeemember{Faculty Name, Professor, Computer Sciences}
\committeemember{Faculty Name, Associate Professor, Computer Sciences}
\committeemember{Faculty Name, Assistant Professor, Computer Sciences}
% Define frontmatters (comment out if you don't want it)
\dedication{\lipsum[1][1]}
\acknowledgements{\lipsum[1]}
\abstract{\lipsum[2]}
% Set the depth of section numbers you like
\setcounter{secnumdepth}{2}
% Set the depth of table of contents you like
\setcounter{tocdepth}{1}
\begin{document}
% Generate title and preliminary pages
\maketitle
\makefrontmatter
% Example doc
\input{example_contents.tex}
% The reference can use 1.5 spacing
\OnehalfSpacing
% Use any bib style you like
\bibliographystyle{abbrvnat}
\bibliography{example.bib}
\end{document}