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@452
|
50
|
rlm@465
|
51 \usepackage{afterpage}
|
rlm@452
|
52
|
rlm@465
|
53 \afterpage{\clearpage} %
|
rlm@429
|
54
|
rlm@431
|
55 \usepackage[backend=bibtex,style=alphabetic]{biblatex}
|
rlm@431
|
56 \addbibresource{cortex.bib}
|
rlm@431
|
57
|
rlm@431
|
58 \usepackage{xcolor}
|
rlm@431
|
59 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
|
rlm@431
|
60 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
|
rlm@486
|
61 \definecolor{medium-blue}{rgb}{0.15,0.4,0.4}
|
rlm@431
|
62 \hypersetup{
|
rlm@431
|
63 colorlinks, linkcolor={dark-red},
|
rlm@431
|
64 citecolor={dark-blue}, urlcolor={medium-blue}
|
rlm@431
|
65 }
|
rlm@431
|
66
|
rlm@452
|
67
|
rlm@429
|
68 \renewcommand{\thesection}{\arabic{section}}
|
rlm@445
|
69 \renewcommand{\thefigure}{\arabic{figure}}
|
rlm@427
|
70
|
rlm@428
|
71 %%%%% better source code display
|
rlm@428
|
72 \usepackage{minted}
|
rlm@427
|
73
|
rlm@429
|
74 %% dyl fonts
|
rlm@429
|
75
|
rlm@428
|
76 % \usemintedstyle{friendly}
|
rlm@428
|
77 % \usemintedstyle{perldoc}
|
rlm@428
|
78 %\definecolor{bg}{rgb}{0.95,0.95,0.95}
|
rlm@429
|
79 \definecolor{bg}{rgb}{0.625,0,0}
|
rlm@428
|
80 \usemintedstyle{default}
|
rlm@429
|
81 \newcommand{\why}[1]{\\ \par{\footnotesize #1}}
|
rlm@429
|
82 %\setmonofont[Scale=0.9,BoldFont={Inconsolata Bold}]{Inconsolata}
|
rlm@427
|
83
|
rlm@429
|
84 %\usepackage[gray]{xcolor}
|
rlm@429
|
85 \newminted{clojure}{fontsize=\footnotesize}
|
rlm@429
|
86 %\newminted{clojure}{fontsize=\footnotesize,bgcolor=bg}
|
rlm@429
|
87 %\newminted{clojure}{fontsize=\scriptsize}
|
rlm@427
|
88
|
rlm@428
|
89 %\usepackage{lgrind}
|
rlm@428
|
90 \pagestyle{plain}
|
rlm@427
|
91
|
rlm@452
|
92
|
rlm@465
|
93 % Alter some LaTeX defaults for better treatment of figures:
|
rlm@465
|
94 % See p.105 of "TeX Unbound" for suggested values.
|
rlm@465
|
95 % See pp. 199-200 of Lamport's "LaTeX" book for details.
|
rlm@465
|
96 % General parameters, for ALL pages:
|
rlm@465
|
97 \renewcommand{\topfraction}{0.9} % max fraction of floats at top
|
rlm@465
|
98 \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
|
rlm@465
|
99 % Parameters for TEXT pages (not float pages):
|
rlm@465
|
100 \setcounter{topnumber}{2}
|
rlm@465
|
101 \setcounter{bottomnumber}{2}
|
rlm@465
|
102 \setcounter{totalnumber}{4} % 2 may work better
|
rlm@465
|
103 \setcounter{dbltopnumber}{2} % for 2-column pages
|
rlm@465
|
104 \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
|
rlm@465
|
105 \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
|
rlm@465
|
106 % Parameters for FLOAT pages (not text pages):
|
rlm@465
|
107 \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
|
rlm@465
|
108 % N.B.: floatpagefraction MUST be less than topfraction !!
|
rlm@465
|
109 \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
|
rlm@465
|
110 % remember to use [htp] or [htpb] for placement
|
rlm@452
|
111
|
rlm@452
|
112
|
rlm@428
|
113 \begin{document}
|
rlm@427
|
114
|
rlm@428
|
115 \include{cover}
|
rlm@428
|
116 % Some departments (e.g. 5) require an additional signature page. See
|
rlm@428
|
117 % signature.tex for more information and uncomment the following line if
|
rlm@428
|
118 % applicable.
|
rlm@428
|
119 % \include{signature}
|
rlm@428
|
120 \pagestyle{plain}
|
rlm@429
|
121 \tableofcontents
|
rlm@429
|
122 %\newpage
|
rlm@429
|
123 %\listoffigures
|
rlm@429
|
124 %\newpage
|
rlm@429
|
125 %\listoftables
|
rlm@428
|
126 \include{cortex}
|
rlm@429
|
127 \nocite{*}
|
rlm@428
|
128 %\include{chap2}
|
rlm@428
|
129 \appendix
|
rlm@428
|
130 \begin{singlespace}
|
rlm@429
|
131 %\bibliographystyle{agsm}
|
rlm@429
|
132 %\bibliographystyle{apa}
|
rlm@431
|
133 %\bibliographystyle{plainnat}
|
rlm@437
|
134 \include{user-guide}
|
rlm@431
|
135 \printbibliography
|
rlm@428
|
136 \end{singlespace}
|
rlm@428
|
137 \end{document}
|
rlm@427
|
138
|