view thesis/rlm-cortex-meng.tex @ 529:96c189d4d15e

get footnotes, work on headers.
author Robert McIntyre <rlm@mit.edu>
date Fri, 25 Apr 2014 00:05:46 -0400
parents 25f23cfd56ce
children 431e6aedf67d
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}
47 \usepackage{hyperref}
48 \usepackage{libertine}
49 \usepackage{inconsolata}
50 \usepackage{rotating}
51 \usepackage{caption}
52 \usepackage{xcolor}
53 \usepackage{minted}
54 \usepackage{fancyhdr}
55 \fancyhead[RO,LE]{\bfseries The performance of new graduates}
57 \usepackage[backend=bibtex,style=alphabetic]{biblatex}
58 %\usepackage[section]{placeins}
59 \usepackage[section,subsection]{extraplaceins}
60 %\floatsetup[listing]{style=Plaintop}
63 \captionsetup{width=.85\textwidth,font=small}
65 % Configure minted source code listings.
66 \usemintedstyle{default}
67 \newminted{clojure}{fontsize=\footnotesize}
68 \newminted{java}{fontsize=\footnotesize}
69 \newminted{c}{fontsize=\footnotesize}
72 % Allow colored source code listing to break across pages.
73 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
75 \renewenvironment{listing}{\begin{anchoredListing}}{
76 \end{anchoredListing}
77 }
79 % Remove ugly boxes around hyperlinks
80 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
81 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
82 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
83 \hypersetup{
84 colorlinks, linkcolor={dark-red},
85 citecolor={dark-blue}, urlcolor={medium-blue}
86 }
88 % Dylan -- make labels on figures and tables simpler
89 \renewcommand{\thesection}{\arabic{section}}
90 \renewcommand{\thefigure}{\arabic{figure}}
92 % CORTEX annotated biblography
93 \addbibresource{cortex.bib}
94 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
99 %% % Alter some LaTeX defaults for better treatment of figures:
100 %% % See p.105 of "TeX Unbound" for suggested values.
101 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
102 %% % General parameters, for ALL pages:
103 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
104 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
105 %% % Parameters for TEXT pages (not float pages):
106 %% \setcounter{topnumber}{2}
107 %% \setcounter{bottomnumber}{2}
108 %% \setcounter{totalnumber}{4} % 2 may work better
109 %% \setcounter{dbltopnumber}{2} % for 2-column pages
110 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
111 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
112 %% % Parameters for FLOAT pages (not text pages):
113 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
114 %% % N.B.: floatpagefraction MUST be less than topfraction !!
115 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
116 %% % remember to use [htp] or [htpb] for placement
118 %\setmaxsecnumdepth{subsec}
121 % The thesis!
122 \pagestyle{plain}
123 \begin{document}
124 \include{cover}
125 \pagestyle{plain}
126 \tableofcontents
127 %\newpage
128 %\listoffigures
129 %\newpage
130 %\listoftables
131 \include{cortex}
132 \nocite{*}
133 \begin{singlespace}
134 \printbibliography
135 \end{singlespace}
136 \end{document}