view thesis/rlm-cortex-meng.tex @ 516:ced955c3c84f

resurrect old cortex to fix flow issues.
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Mar 2014 22:48:19 -0400
parents f639e2139ce2
children 68665d2c32a7
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[backend=bibtex,style=alphabetic]{biblatex}
55 %\usepackage[section]{placeins}
56 \usepackage[section,subsection,subsubsection]{extraplaceins}
57 %\floatsetup[listing]{style=Plaintop}
60 \captionsetup{width=.85\textwidth,font=small}
62 % Configure minted source code listings.
63 \usemintedstyle{default}
64 \newminted{clojure}{fontsize=\footnotesize}
66 % Allow colored source code listing to break across pages.
67 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
69 \renewenvironment{listing}{\begin{anchoredListing}}{
70 \end{anchoredListing}
71 }
73 % Remove ugly boxes around hyperlinks
74 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
75 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
76 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
77 \hypersetup{
78 colorlinks, linkcolor={dark-red},
79 citecolor={dark-blue}, urlcolor={medium-blue}
80 }
82 % Dylan -- make labels on figures and tables simpler
83 \renewcommand{\thesection}{\arabic{section}}
84 \renewcommand{\thefigure}{\arabic{figure}}
86 % CORTEX annotated biblography
87 \addbibresource{cortex.bib}
88 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
93 %% % Alter some LaTeX defaults for better treatment of figures:
94 %% % See p.105 of "TeX Unbound" for suggested values.
95 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
96 %% % General parameters, for ALL pages:
97 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top
98 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
99 %% % Parameters for TEXT pages (not float pages):
100 %% \setcounter{topnumber}{2}
101 %% \setcounter{bottomnumber}{2}
102 %% \setcounter{totalnumber}{4} % 2 may work better
103 %% \setcounter{dbltopnumber}{2} % for 2-column pages
104 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
105 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs
106 %% % Parameters for FLOAT pages (not text pages):
107 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
108 %% % N.B.: floatpagefraction MUST be less than topfraction !!
109 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
110 %% % remember to use [htp] or [htpb] for placement
112 %\setmaxsecnumdepth{subsec}
115 % The thesis!
116 \pagestyle{plain}
117 \begin{document}
118 \include{cover}
119 \pagestyle{plain}
120 \tableofcontents
121 %\newpage
122 %\listoffigures
123 %\newpage
124 %\listoftables
125 \include{cortex}
126 \nocite{*}
127 \begin{singlespace}
128 \printbibliography
129 \end{singlespace}
130 \end{document}