rlm@428
|
1 % -*- Mode:TeX -*-
|
rlm@427
|
2
|
rlm@428
|
3 %% IMPORTANT: The official thesis specifications are available at:
|
rlm@428
|
4 %% http://libraries.mit.edu/archives/thesis-specs/
|
rlm@428
|
5 %%
|
rlm@428
|
6 %% Please verify your thesis' formatting and copyright
|
rlm@428
|
7 %% assignment before submission. If you notice any
|
rlm@428
|
8 %% discrepancies between these templates and the
|
rlm@428
|
9 %% MIT Libraries' specs, please let us know
|
rlm@428
|
10 %% by e-mailing thesis@mit.edu
|
rlm@427
|
11
|
rlm@428
|
12 %% The documentclass options along with the pagestyle can be used to generate
|
rlm@428
|
13 %% a technical report, a draft copy, or a regular thesis. You may need to
|
rlm@428
|
14 %% re-specify the pagestyle after you \include cover.tex. For more
|
rlm@428
|
15 %% information, see the first few lines of mitthesis.cls.
|
rlm@427
|
16
|
rlm@428
|
17 %\documentclass[12pt,vi,twoside]{mitthesis}
|
rlm@428
|
18 %%
|
rlm@428
|
19 %% If you want your thesis copyright to you instead of MIT, use the
|
rlm@428
|
20 %% ``vi'' option, as above.
|
rlm@428
|
21 %%
|
rlm@428
|
22 %\documentclass[12pt,twoside,leftblank]{mitthesis}
|
rlm@428
|
23 %%
|
rlm@428
|
24 %% If you want blank pages before new chapters to be labelled ``This
|
rlm@428
|
25 %% Page Intentionally Left Blank'', use the ``leftblank'' option, as
|
rlm@428
|
26 %% above.
|
rlm@427
|
27
|
rlm@441
|
28 \documentclass[12pt,twoside,singlespace,vi]{mitthesis}
|
rlm@451
|
29 %\documentclass[12pt,twoside,vi]{mitthesis}
|
rlm@428
|
30 \usepackage[utf8]{inputenc}
|
rlm@428
|
31 \usepackage[T1]{fontenc}
|
rlm@428
|
32 \usepackage{fixltx2e}
|
rlm@428
|
33 \usepackage{graphicx}
|
rlm@428
|
34 \usepackage{longtable}
|
rlm@428
|
35 \usepackage{float}
|
rlm@428
|
36 \usepackage{wrapfig}
|
rlm@428
|
37 \usepackage{rotating}
|
rlm@428
|
38 \usepackage[normalem]{ulem}
|
rlm@476
|
39 \usepackage{mathtools}
|
rlm@428
|
40 \usepackage{amsmath}
|
rlm@428
|
41 \usepackage{textcomp}
|
rlm@428
|
42 \usepackage{marvosym}
|
rlm@428
|
43 \usepackage{wasysym}
|
rlm@428
|
44 \usepackage{amssymb}
|
rlm@428
|
45 \usepackage{hyperref}
|
rlm@429
|
46 \usepackage{libertine}
|
rlm@429
|
47 \usepackage{inconsolata}
|
rlm@449
|
48 \usepackage{rotating}
|
rlm@452
|
49 \usepackage{caption}
|
rlm@505
|
50 \usepackage{xcolor}
|
rlm@505
|
51 \usepackage{minted}
|
rlm@505
|
52 \usepackage[backend=bibtex,style=alphabetic]{biblatex}
|
rlm@452
|
53
|
rlm@452
|
54
|
rlm@506
|
55 % Configure minted source code listings.
|
rlm@506
|
56 \usemintedstyle{default}
|
rlm@506
|
57 \newminted{clojure}{fontsize=\footnotesize}
|
rlm@506
|
58
|
rlm@506
|
59 % Allow colored source code listing to break across pages.
|
rlm@505
|
60 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
|
rlm@429
|
61
|
rlm@505
|
62 \renewenvironment{listing}{\begin{anchoredListing}}{
|
rlm@505
|
63 \end{anchoredListing}\ignorespacesafterend
|
rlm@505
|
64 }
|
rlm@431
|
65
|
rlm@506
|
66 % Remove ugly boxes around hyperlinks
|
rlm@431
|
67 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
|
rlm@431
|
68 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
|
rlm@497
|
69 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
|
rlm@431
|
70 \hypersetup{
|
rlm@431
|
71 colorlinks, linkcolor={dark-red},
|
rlm@431
|
72 citecolor={dark-blue}, urlcolor={medium-blue}
|
rlm@431
|
73 }
|
rlm@431
|
74
|
rlm@506
|
75 % Dylan -- make labels on figures and tables simpler
|
rlm@429
|
76 \renewcommand{\thesection}{\arabic{section}}
|
rlm@445
|
77 \renewcommand{\thefigure}{\arabic{figure}}
|
rlm@427
|
78
|
rlm@506
|
79 % CORTEX annotated biblography
|
rlm@506
|
80 \addbibresource{cortex.bib}
|
rlm@506
|
81 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
|
rlm@505
|
82
|
rlm@427
|
83
|
rlm@429
|
84
|
rlm@427
|
85
|
rlm@506
|
86 %% % Alter some LaTeX defaults for better treatment of figures:
|
rlm@506
|
87 %% % See p.105 of "TeX Unbound" for suggested values.
|
rlm@506
|
88 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
|
rlm@506
|
89 %% % General parameters, for ALL pages:
|
rlm@506
|
90 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
|
rlm@506
|
91 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
|
rlm@506
|
92 %% % Parameters for TEXT pages (not float pages):
|
rlm@506
|
93 %% \setcounter{topnumber}{2}
|
rlm@506
|
94 %% \setcounter{bottomnumber}{2}
|
rlm@506
|
95 %% \setcounter{totalnumber}{4} % 2 may work better
|
rlm@506
|
96 %% \setcounter{dbltopnumber}{2} % for 2-column pages
|
rlm@506
|
97 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
|
rlm@506
|
98 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
|
rlm@506
|
99 %% % Parameters for FLOAT pages (not text pages):
|
rlm@506
|
100 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
|
rlm@506
|
101 %% % N.B.: floatpagefraction MUST be less than topfraction !!
|
rlm@506
|
102 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
|
rlm@506
|
103 %% % remember to use [htp] or [htpb] for placement
|
rlm@452
|
104
|
rlm@497
|
105 %\setmaxsecnumdepth{subsec}
|
rlm@506
|
106
|
rlm@506
|
107
|
rlm@506
|
108 % The thesis!
|
rlm@506
|
109 \pagestyle{plain}
|
rlm@428
|
110 \begin{document}
|
rlm@428
|
111 \include{cover}
|
rlm@428
|
112 \pagestyle{plain}
|
rlm@429
|
113 \tableofcontents
|
rlm@429
|
114 %\newpage
|
rlm@429
|
115 %\listoffigures
|
rlm@429
|
116 %\newpage
|
rlm@429
|
117 %\listoftables
|
rlm@428
|
118 \include{cortex}
|
rlm@429
|
119 \nocite{*}
|
rlm@488
|
120 \begin{singlespace}
|
rlm@506
|
121 \printbibliography
|
rlm@428
|
122 \end{singlespace}
|
rlm@428
|
123 \end{document}
|
rlm@427
|
124
|