view thesis/rlm-cortex-meng.tex @ 548:0b891e0dd809

version 0.2 of thesis complete.
author Robert McIntyre <rlm@mit.edu>
date Thu, 01 May 2014 23:41:41 -0400
parents 5d89879fc894
children 20e0ec94b35c
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}}
59 \renewcommand{\sectionmark}[1]{\markright{#1}}
61 \usepackage[backend=bibtex,style=authoryear]{biblatex}
62 %\usepackage[section]{placeins}
63 \usepackage[section,subsection]{extraplaceins}
64 %\floatsetup[listing]{style=Plaintop}
67 \captionsetup{width=.85\textwidth,font=small}
69 % Configure minted source code listings.
70 \usemintedstyle{default}
71 \newminted{clojure}{fontsize=\footnotesize}
72 \newminted{java}{fontsize=\footnotesize}
73 \newminted{c}{fontsize=\footnotesize}
76 % Allow colored source code listing to break across pages.
77 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
79 \renewenvironment{listing}{\begin{anchoredListing}}{
80 \end{anchoredListing}
81 }
83 % Remove ugly boxes around hyperlinks
84 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
85 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
86 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
87 \hypersetup{
88 colorlinks, linkcolor={dark-red},
89 citecolor={dark-blue}, urlcolor={medium-blue}
90 }
92 % Dylan -- make labels on figures and tables simpler
93 \renewcommand{\thesection}{\arabic{section}}
94 \renewcommand{\thefigure}{\arabic{figure}}
96 % CORTEX annotated biblography
97 \addbibresource{cortex.bib}
98 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
103 %% % Alter some LaTeX defaults for better treatment of figures:
104 %% % See p.105 of "TeX Unbound" for suggested values.
105 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
106 %% % General parameters, for ALL pages:
107 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
108 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
109 %% % Parameters for TEXT pages (not float pages):
110 %% \setcounter{topnumber}{2}
111 %% \setcounter{bottomnumber}{2}
112 %% \setcounter{totalnumber}{4} % 2 may work better
113 %% \setcounter{dbltopnumber}{2} % for 2-column pages
114 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
115 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
116 %% % Parameters for FLOAT pages (not text pages):
117 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
118 %% % N.B.: floatpagefraction MUST be less than topfraction !!
119 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
120 %% % remember to use [htp] or [htpb] for placement
122 %\setmaxsecnumdepth{subsec}
125 % The thesis!
126 \pagestyle{plain}
128 \begin{document}
129 \include{cover}
131 %\pagestyle{plain}
132 \tableofcontents
133 %\newpage
134 %\listoffigures
135 %\newpage
136 %\listoftables
137 \pagestyle{fancy}
138 \include{cortex}
139 \pagestyle{plain}
140 \nocite{*}
141 \begin{singlespace}
142 \printbibliography
143 \end{singlespace}
144 \end{document}