view thesis/rlm-cortex-meng.tex @ 544:431e6aedf67d

change citation style and headers.
author Robert McIntyre <rlm@mit.edu>
date Mon, 28 Apr 2014 01:06:03 -0400
parents 96c189d4d15e
children 5d89879fc894
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{fixltx2e}
35 %\usepackage{graphicx}
36 %\usepackage{longtable}
37 %\usepackage{float}
38 %\usepackage{wrapfig}
39 %\usepackage{rotating}
40 \usepackage[normalem]{ulem}
41 \usepackage{mathtools}
42 %\usepackage{amsmath}
43 %\usepackage{textcomp}
44 \usepackage{marvosym}
45 \usepackage{wasysym}
46 \usepackage{amssymb}
48 \usepackage{libertine}
49 \usepackage{inconsolata}
50 \usepackage{rotating}
51 \usepackage{caption}
52 \usepackage{xcolor}
53 \usepackage{minted}
54 \usepackage{fancyhdr}
55 \usepackage{hyperref}
56 \fancyhead[RO,LE]{\bfseries \nouppercase{\rightmark}}
57 \renewcommand{\subsectionmark}[1]{\markright{#1}}
59 \usepackage[backend=bibtex,style=authoryear]{biblatex}
60 %\usepackage[section]{placeins}
61 \usepackage[section,subsection]{extraplaceins}
62 %\floatsetup[listing]{style=Plaintop}
65 \captionsetup{width=.85\textwidth,font=small}
67 % Configure minted source code listings.
68 \usemintedstyle{default}
69 \newminted{clojure}{fontsize=\footnotesize}
70 \newminted{java}{fontsize=\footnotesize}
71 \newminted{c}{fontsize=\footnotesize}
74 % Allow colored source code listing to break across pages.
75 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
77 \renewenvironment{listing}{\begin{anchoredListing}}{
78 \end{anchoredListing}
79 }
81 % Remove ugly boxes around hyperlinks
82 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
83 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
84 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
85 \hypersetup{
86 colorlinks, linkcolor={dark-red},
87 citecolor={dark-blue}, urlcolor={medium-blue}
88 }
90 % Dylan -- make labels on figures and tables simpler
91 \renewcommand{\thesection}{\arabic{section}}
92 \renewcommand{\thefigure}{\arabic{figure}}
94 % CORTEX annotated biblography
95 \addbibresource{cortex.bib}
96 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
101 %% % Alter some LaTeX defaults for better treatment of figures:
102 %% % See p.105 of "TeX Unbound" for suggested values.
103 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
104 %% % General parameters, for ALL pages:
105 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
106 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
107 %% % Parameters for TEXT pages (not float pages):
108 %% \setcounter{topnumber}{2}
109 %% \setcounter{bottomnumber}{2}
110 %% \setcounter{totalnumber}{4} % 2 may work better
111 %% \setcounter{dbltopnumber}{2} % for 2-column pages
112 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
113 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
114 %% % Parameters for FLOAT pages (not text pages):
115 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
116 %% % N.B.: floatpagefraction MUST be less than topfraction !!
117 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
118 %% % remember to use [htp] or [htpb] for placement
120 %\setmaxsecnumdepth{subsec}
123 % The thesis!
124 \pagestyle{plain}
126 \begin{document}
127 \include{cover}
129 %\pagestyle{plain}
130 \tableofcontents
131 %\newpage
132 %\listoffigures
133 %\newpage
134 %\listoftables
135 \pagestyle{fancy}
136 \include{cortex}
137 \pagestyle{plain}
138 \nocite{*}
139 \begin{singlespace}
140 \printbibliography
141 \end{singlespace}
142 \end{document}