view thesis/rlm-cortex-meng.tex @ 506:9ab8c19143f2

cleanup main thesis code.
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Mar 2014 00:21:50 -0400
parents c15e24d24396
children f2f029e1a6a9
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}
30 \usepackage[utf8]{inputenc}
31 \usepackage[T1]{fontenc}
32 \usepackage{fixltx2e}
33 \usepackage{graphicx}
34 \usepackage{longtable}
35 \usepackage{float}
36 \usepackage{wrapfig}
37 \usepackage{rotating}
38 \usepackage[normalem]{ulem}
39 \usepackage{mathtools}
40 \usepackage{amsmath}
41 \usepackage{textcomp}
42 \usepackage{marvosym}
43 \usepackage{wasysym}
44 \usepackage{amssymb}
45 \usepackage{hyperref}
46 \usepackage{libertine}
47 \usepackage{inconsolata}
48 \usepackage{rotating}
49 \usepackage{caption}
50 \usepackage{xcolor}
51 \usepackage{minted}
52 \usepackage[backend=bibtex,style=alphabetic]{biblatex}
55 % Configure minted source code listings.
56 \usemintedstyle{default}
57 \newminted{clojure}{fontsize=\footnotesize}
59 % Allow colored source code listing to break across pages.
60 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
62 \renewenvironment{listing}{\begin{anchoredListing}}{
63 \end{anchoredListing}\ignorespacesafterend
64 }
66 % Remove ugly boxes around hyperlinks
67 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
68 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
69 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
70 \hypersetup{
71 colorlinks, linkcolor={dark-red},
72 citecolor={dark-blue}, urlcolor={medium-blue}
73 }
75 % Dylan -- make labels on figures and tables simpler
76 \renewcommand{\thesection}{\arabic{section}}
77 \renewcommand{\thefigure}{\arabic{figure}}
79 % CORTEX annotated biblography
80 \addbibresource{cortex.bib}
81 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
86 %% % Alter some LaTeX defaults for better treatment of figures:
87 %% % See p.105 of "TeX Unbound" for suggested values.
88 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
89 %% % General parameters, for ALL pages:
90 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
91 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
92 %% % Parameters for TEXT pages (not float pages):
93 %% \setcounter{topnumber}{2}
94 %% \setcounter{bottomnumber}{2}
95 %% \setcounter{totalnumber}{4} % 2 may work better
96 %% \setcounter{dbltopnumber}{2} % for 2-column pages
97 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
98 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
99 %% % Parameters for FLOAT pages (not text pages):
100 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
101 %% % N.B.: floatpagefraction MUST be less than topfraction !!
102 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
103 %% % remember to use [htp] or [htpb] for placement
105 %\setmaxsecnumdepth{subsec}
108 % The thesis!
109 \pagestyle{plain}
110 \begin{document}
111 \include{cover}
112 \pagestyle{plain}
113 \tableofcontents
114 %\newpage
115 %\listoffigures
116 %\newpage
117 %\listoftables
118 \include{cortex}
119 \nocite{*}
120 \begin{singlespace}
121 \printbibliography
122 \end{singlespace}
123 \end{document}