view thesis/rlm-cortex-meng.tex @ 547:5d89879fc894

couple hours worth of edits.
author Robert McIntyre <rlm@mit.edu>
date Mon, 28 Apr 2014 15:10:59 -0400
parents 431e6aedf67d
children 0b891e0dd809
line wrap: on
line source
1 % -*- Mode:TeX -*-
3 %% IMPORTANT: The official thesis specifications are available at:
4 %% http://libraries.mit.edu/archives/thesis-specs/
5 %%
6 %% Please verify your thesis' formatting and copyright
7 %% assignment before submission. If you notice any
8 %% discrepancies between these templates and the
9 %% MIT Libraries' specs, please let us know
10 %% by e-mailing thesis@mit.edu
12 %% The documentclass options along with the pagestyle can be used to generate
13 %% a technical report, a draft copy, or a regular thesis. You may need to
14 %% re-specify the pagestyle after you \include cover.tex. For more
15 %% information, see the first few lines of mitthesis.cls.
17 %\documentclass[12pt,vi,twoside]{mitthesis}
18 %%
19 %% If you want your thesis copyright to you instead of MIT, use the
20 %% ``vi'' option, as above.
21 %%
22 %\documentclass[12pt,twoside,leftblank]{mitthesis}
23 %%
24 %% If you want blank pages before new chapters to be labelled ``This
25 %% Page Intentionally Left Blank'', use the ``leftblank'' option, as
26 %% above.
28 \documentclass[12pt,twoside,singlespace,vi]{mitthesis}
29 %\documentclass[12pt,twoside,vi]{mitthesis}
31 %\usepackage{floatrow}
32 \usepackage[utf8]{inputenc}
33 \usepackage[T1]{fontenc}
34 \usepackage[headheight=14pt]{geometry}
35 %\usepackage{fixltx2e}
36 %\usepackage{graphicx}
37 %\usepackage{longtable}
38 %\usepackage{float}
39 %\usepackage{wrapfig}
40 %\usepackage{rotating}
41 \usepackage[normalem]{ulem}
42 \usepackage{mathtools}
43 %\usepackage{amsmath}
44 %\usepackage{textcomp}
45 \usepackage{marvosym}
46 \usepackage{wasysym}
47 \usepackage{amssymb}
49 \usepackage{libertine}
50 \usepackage{inconsolata}
51 \usepackage{rotating}
52 \usepackage{caption}
53 \usepackage{xcolor}
54 \usepackage{minted}
55 \usepackage{fancyhdr}
56 \usepackage{hyperref}
57 \fancyhead[RO,LE]{\bfseries \nouppercase{\rightmark}}
58 \renewcommand{\subsectionmark}[1]{\markright{#1}}
60 \usepackage[backend=bibtex,style=authoryear]{biblatex}
61 %\usepackage[section]{placeins}
62 \usepackage[section,subsection]{extraplaceins}
63 %\floatsetup[listing]{style=Plaintop}
66 \captionsetup{width=.85\textwidth,font=small}
68 % Configure minted source code listings.
69 \usemintedstyle{default}
70 \newminted{clojure}{fontsize=\footnotesize}
71 \newminted{java}{fontsize=\footnotesize}
72 \newminted{c}{fontsize=\footnotesize}
75 % Allow colored source code listing to break across pages.
76 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
78 \renewenvironment{listing}{\begin{anchoredListing}}{
79 \end{anchoredListing}
80 }
82 % Remove ugly boxes around hyperlinks
83 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
84 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
85 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
86 \hypersetup{
87 colorlinks, linkcolor={dark-red},
88 citecolor={dark-blue}, urlcolor={medium-blue}
89 }
91 % Dylan -- make labels on figures and tables simpler
92 \renewcommand{\thesection}{\arabic{section}}
93 \renewcommand{\thefigure}{\arabic{figure}}
95 % CORTEX annotated biblography
96 \addbibresource{cortex.bib}
97 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
102 %% % Alter some LaTeX defaults for better treatment of figures:
103 %% % See p.105 of "TeX Unbound" for suggested values.
104 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
105 %% % General parameters, for ALL pages:
106 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
107 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
108 %% % Parameters for TEXT pages (not float pages):
109 %% \setcounter{topnumber}{2}
110 %% \setcounter{bottomnumber}{2}
111 %% \setcounter{totalnumber}{4} % 2 may work better
112 %% \setcounter{dbltopnumber}{2} % for 2-column pages
113 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
114 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
115 %% % Parameters for FLOAT pages (not text pages):
116 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
117 %% % N.B.: floatpagefraction MUST be less than topfraction !!
118 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
119 %% % remember to use [htp] or [htpb] for placement
121 %\setmaxsecnumdepth{subsec}
124 % The thesis!
125 \pagestyle{plain}
127 \begin{document}
128 \include{cover}
130 %\pagestyle{plain}
131 \tableofcontents
132 %\newpage
133 %\listoffigures
134 %\newpage
135 %\listoftables
136 \pagestyle{fancy}
137 \include{cortex}
138 \pagestyle{plain}
139 \nocite{*}
140 \begin{singlespace}
141 \printbibliography
142 \end{singlespace}
143 \end{document}