view thesis/rlm-cortex-meng.tex @ 566:b9b8567c14ee

final fixes; preparing to print final thesis.
author Robert McIntyre <rlm@mit.edu>
date Mon, 12 May 2014 15:01:53 -0400
parents 20e0ec94b35c
children
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[margin=1in]{geometry}
36 %\usepackage{fixltx2e}
37 %\usepackage{graphicx}
38 %\usepackage{longtable}
39 %\usepackage{float}
40 %\usepackage{wrapfig}
41 %\usepackage{rotating}
42 \usepackage[normalem]{ulem}
43 \usepackage{mathtools}
44 %\usepackage{amsmath}
45 %\usepackage{textcomp}
46 \usepackage{marvosym}
47 \usepackage{wasysym}
48 \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 \usepackage[anythingbreaks]{breakurl}
58 \fancyhead[RO,LE]{\bfseries \nouppercase{\rightmark}}
59 \renewcommand{\subsectionmark}[1]{\markright{#1}}
60 \renewcommand{\sectionmark}[1]{\markright{#1}}
62 \usepackage[backend=bibtex,style=authoryear]{biblatex}
63 %\usepackage[section]{placeins}
64 \usepackage[section,subsection]{extraplaceins}
65 %\floatsetup[listing]{style=Plaintop}
68 \captionsetup{width=.85\textwidth,font=small}
70 % Configure minted source code listings.
71 \usemintedstyle{default}
72 \newminted{clojure}{fontsize=\footnotesize}
73 \newminted{java}{fontsize=\footnotesize}
74 \newminted{c}{fontsize=\footnotesize}
77 % Allow colored source code listing to break across pages.
78 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
80 \renewenvironment{listing}{\begin{anchoredListing}}{
81 \end{anchoredListing}
82 }
84 % Remove ugly boxes around hyperlinks
85 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
86 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
87 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
88 \hypersetup{
89 colorlinks, linkcolor={dark-red},
90 citecolor={dark-blue}, urlcolor={medium-blue}
91 }
93 % Dylan -- make labels on figures and tables simpler
94 \renewcommand{\thesection}{\arabic{section}}
95 \renewcommand{\thefigure}{\arabic{figure}}
97 % CORTEX annotated biblography
98 \addbibresource{cortex.bib}
99 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
104 %% % Alter some LaTeX defaults for better treatment of figures:
105 %% % See p.105 of "TeX Unbound" for suggested values.
106 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
107 %% % General parameters, for ALL pages:
108 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
109 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
110 %% % Parameters for TEXT pages (not float pages):
111 %% \setcounter{topnumber}{2}
112 %% \setcounter{bottomnumber}{2}
113 %% \setcounter{totalnumber}{4} % 2 may work better
114 %% \setcounter{dbltopnumber}{2} % for 2-column pages
115 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
116 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
117 %% % Parameters for FLOAT pages (not text pages):
118 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
119 %% % N.B.: floatpagefraction MUST be less than topfraction !!
120 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
121 %% % remember to use [htp] or [htpb] for placement
123 %\setmaxsecnumdepth{subsec}
126 % The thesis!
127 % dxh debug
128 %\pagestyle{empty}
129 \pagestyle{plain}
131 \begin{document}
132 \include{cover}
135 \tableofcontents
136 \pagestyle{fancy}
137 \include{cortex}
138 \pagestyle{plain}
139 \nocite{*}
140 \begin{singlespace}
141 \printbibliography
142 \end{singlespace}
143 \end{document}