-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.tex
87 lines (73 loc) · 2.42 KB
/
main.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
\documentclass[letterpaper,12pt,oneside,openany]{book}
\usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{pdfpages}
\usepackage{afterpage}
% this is where to put figures you're including (I just made PNGs of everything)
\graphicspath{ {figures/} }
\usepackage[utf8]{inputenc}
\usepackage[greek,ngerman,english]{babel}
\usepackage[space]{grffile}
\usepackage{latexsym}
\usepackage{textcomp}
\usepackage{longtable}
\usepackage{multirow,booktabs}
\usepackage{amsfonts,amsmath,amssymb}
\usepackage{setspace}
\usepackage{caption}
\captionsetup[figure]{hypcap=false}
\usepackage[super,comma,sort&compress]{natbib}
% Add Bibliography to the table of contents
\usepackage[nottoc]{tocbibind}
\PassOptionsToPackage{hyphens}{url}
\usepackage[hyperfigures,breaklinks,pagebackref,hidelinks]{hyperref}
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\usepackage[nameinlink]{cleveref}
% code to remove things from ToC (from https://tex.stackexchange.com/questions/272070/)
\newcommand*{\BeginNoToc}{%
\addtocontents{toc}{%
\edef\protect\SavedTocDepth{\protect\the\protect\value{tocdepth}}%
}%
\addtocontents{toc}{%
\protect\setcounter{tocdepth}{-10}%
}%
}
\newcommand*{\EndNoToc}{%
\addtocontents{toc}{%
\protect\setcounter{tocdepth}{\protect\SavedTocDepth}%
}%
}
\bibliographystyle{unsrtnat}
\doublespacing
\begin{document}
\frontmatter
% download the official title page from http://graduate.ucsf.edu/forms/
% and fill it out, export a copy to remove the forms, and include it here
% (or eventually the signed scanned version)
\includepdf{titlePageExport.pdf}
\afterpage{\thispagestyle{plain}\null\newpage}
\include{./TeX_files/acknowledgments}
\include{./TeX_files/abstract}
\tableofcontents
\BeginNoToc
\listoftables
\listoffigures
\EndNoToc
\mainmatter
\include{./TeX_files/introduction}
\include{./TeX_files/chapter02}
\include{./TeX_files/chapter03}
\include{./TeX_files/chapter04}
\include{./TeX_files/chapter05}
\include{./TeX_files/chapter06}
\include{./TeX_files/chapter07}
\backmatter
% bibliography, glossary and index would go here.
% I named my biblatex file "biblio.bib". You're on your own with this crap.
\bibliography{biblio}
% print this out, add the right page number, sign it/scan it, then include it as pdf
%\BeginNoToc
\includepdf{publishing_agreement.pdf}
%\EndNoToc
\end{document}