-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy paththesis.tex
executable file
·83 lines (68 loc) · 2.87 KB
/
thesis.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
\include{picommands}
\documentclass[12pt,twoside]{reedthesis}
\usepackage{graphicx,latexsym}
\usepackage{amssymb,amsthm,amsmath}
\usepackage{longtable,booktabs,setspace}
\usepackage{url}
\usepackage{float}
\usepackage[square]{natbib}
\usepackage{multirow}
\usepackage{datetime}
\usepackage[titles]{tocloft}
\renewcommand{\cftchapfont}{\boldmath\bfseries\sffamily} %makes pi symbol bold in ToC
% \usepackage{a0size} used for a really big pi symbol - disabled
\usepackage[palatino]{quotchapwc} %figure out where to stick \thispagestyle{empty}%
\renewcommand\chapterheadstartvskip{\vspace*{-5\baselineskip}}
\usepackage[calcwidth]{titlesec}
%DIFFERING BEHAVOIR FOR PDF VS PRINT OUTPUT
\newcounter{outputmode}
\setcounter{outputmode}{1} %0 for pdf, 1 for print
\ifthenelse{\equal{\value{outputmode}}{0}}{\usepackage[bookmarks,unicode, colorlinks, linkcolor= darkblue, citecolor= darkblue, pdftitle={The $pi$-calculus}, pdfauthor={William Henderson}]{hyperref}}{\usepackage[bookmarks, colorlinks=true, linkcolor=black, citecolor= black, pdftitle={The $pi$-calculus}, pdfauthor={William Henderson}]{hyperref}}
\ifthenelse{\equal{\value{outputmode}}{0}}{\setlength{\evensidemargin}{0.3in}\setlength{\oddsidemargin}{0.3in}}{}
\titleformat{\section}[hang]{\sffamily\boldmath\bfseries}
{\Large\thesection}{12pt}{\Large}[{\titlerule[0.5pt]}]
\titleformat{\subsection}[hang]{\sffamily\boldmath\bfseries}
{\large\thesubsection}{12pt}{\large}[]
\title{Distributed and Mobile Systems in The \Picalc}
\author{William Henderson}
% see http://library.reed.edu/help/thesisformat.html for formatting reqs
% The month and year that you submit your FINAL draft TO THE LIBRARY (May or December)
\date{May 2008}
\division{Mathematics and Natural Sciences}
\advisor{James Fix}
\department{Mathematics}
\setlength{\parskip}{0pt}
\begin{document}
% \lfoot[Build version: \pdfdate]{}%enable for revision marking
% \rfoot[]{Build version: \pdfdate}%
\maketitle
\frontmatter % this stuff will be roman-numbered
\pagestyle{empty} % this removes page numbers from the frontmatter
\input{Chapters/front_matter}
\setcounter{tocdepth}{1}
\tableofcontents
\input{Chapters/abstract}
\input{Chapters/dedication}
%dedication?
\mainmatter % here the regular arabic numbering starts
\pagestyle{fancyplain} % turns page numbering back on
\input{Chapters/chap1_introduction}
\input{Chapters/chap2}
\input{Chapters/chap3}
\input{Chapters/chap4}
\input{Chapters/chap5_concl}
%\input{Chapters/conclusion}
\backmatter
\fancypagestyle{plain}
{
\fancyhead{}
\fancyfoot{}
} % gets rid of page numbering for plain style, which the following commands use.
% \listoftables
% Make my bibliography be called "Bibliography" and not "References" (or "Works Cited" or...):
% \renewcommand{\bibname}{Works Cited}
\nocite{*}
\bibliographystyle{alphaurlReed}
\bibliography{thesis}
\printindex
\end{document}