
rlm@428: % -*- Mode:TeX -*-
rlm@427: 
rlm@428: %% IMPORTANT: The official thesis specifications are available at:
rlm@428: %%            http://libraries.mit.edu/archives/thesis-specs/
rlm@428: %%
rlm@428: %%            Please verify your thesis' formatting and copyright
rlm@428: %%            assignment before submission.  If you notice any
rlm@428: %%            discrepancies between these templates and the 
rlm@428: %%            MIT Libraries' specs, please let us know
rlm@428: %%            by e-mailing thesis@mit.edu
rlm@427: 
rlm@428: %% The documentclass options along with the pagestyle can be used to generate
rlm@428: %% a technical report, a draft copy, or a regular thesis.  You may need to
rlm@428: %% re-specify the pagestyle after you \include  cover.tex.  For more
rlm@428: %% information, see the first few lines of mitthesis.cls. 
rlm@427: 
rlm@428: %\documentclass[12pt,vi,twoside]{mitthesis}
rlm@428: %%
rlm@428: %%  If you want your thesis copyright to you instead of MIT, use the
rlm@428: %%  ``vi'' option, as above.
rlm@428: %%
rlm@428: %\documentclass[12pt,twoside,leftblank]{mitthesis}
rlm@428: %%
rlm@428: %% If you want blank pages before new chapters to be labelled ``This
rlm@428: %% Page Intentionally Left Blank'', use the ``leftblank'' option, as
rlm@428: %% above. 
rlm@427: 
rlm@441: \documentclass[12pt,twoside,singlespace,vi]{mitthesis}
rlm@451: %\documentclass[12pt,twoside,vi]{mitthesis}
rlm@507: 
rlm@507: %\usepackage{floatrow}
rlm@428: \usepackage[utf8]{inputenc}
rlm@428: \usepackage[T1]{fontenc}
rlm@507: %\usepackage{fixltx2e}
rlm@507: %\usepackage{graphicx}
rlm@507: %\usepackage{longtable}
rlm@507: %\usepackage{float}
rlm@507: %\usepackage{wrapfig}
rlm@507: %\usepackage{rotating}
rlm@428: \usepackage[normalem]{ulem}
rlm@476: \usepackage{mathtools}
rlm@507: %\usepackage{amsmath}
rlm@507: %\usepackage{textcomp}
rlm@428: \usepackage{marvosym}
rlm@428: \usepackage{wasysym}
rlm@428: \usepackage{amssymb}
rlm@428: \usepackage{hyperref}
rlm@429: \usepackage{libertine}
rlm@429: \usepackage{inconsolata}
rlm@449: \usepackage{rotating}
rlm@452: \usepackage{caption}
rlm@505: \usepackage{xcolor}
rlm@507: \usepackage{minted}    
rlm@505: \usepackage[backend=bibtex,style=alphabetic]{biblatex}
rlm@510: %\usepackage[section]{placeins}
rlm@510: \usepackage[section,subsection,subsubsection]{extraplaceins}
rlm@507: %\floatsetup[listing]{style=Plaintop}    
rlm@452: 
rlm@452: 
rlm@507: \captionsetup{width=.85\textwidth,font=small}
rlm@507: 
rlm@506: % Configure minted source code listings.
rlm@506: \usemintedstyle{default}
rlm@506: \newminted{clojure}{fontsize=\footnotesize}
rlm@506: 
rlm@506: % Allow colored source code listing to break across pages.
rlm@505: \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
rlm@429: 
rlm@505: \renewenvironment{listing}{\begin{anchoredListing}}{
rlm@507:    \end{anchoredListing}
rlm@505: }
rlm@431: 
rlm@506: % Remove ugly boxes around hyperlinks
rlm@431: \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
rlm@431: \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
rlm@497: \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
rlm@431: \hypersetup{
rlm@431:     colorlinks, linkcolor={dark-red},
rlm@431:     citecolor={dark-blue}, urlcolor={medium-blue}
rlm@431: }
rlm@431: 
rlm@506: % Dylan -- make labels on figures and tables simpler
rlm@429: \renewcommand{\thesection}{\arabic{section}}
rlm@445: \renewcommand{\thefigure}{\arabic{figure}}
rlm@427: 
rlm@506: % CORTEX annotated biblography
rlm@506: \addbibresource{cortex.bib}
rlm@506: \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
rlm@505: 
rlm@427: 
rlm@429: 
rlm@427: 
rlm@506: %% % Alter some LaTeX defaults for better treatment of figures:
rlm@506: %% % See p.105 of "TeX Unbound" for suggested values.
rlm@506: %% % See pp. 199-200 of Lamport's "LaTeX" book for details.
rlm@506: %% %   General parameters, for ALL pages:
rlm@506: %% \renewcommand{\topfraction}{0.9}	% max fraction of floats at top
rlm@506: %% \renewcommand{\bottomfraction}{0.8}	% max fraction of floats at bottom
rlm@506: %% %   Parameters for TEXT pages (not float pages):
rlm@506: %% \setcounter{topnumber}{2}
rlm@506: %% \setcounter{bottomnumber}{2}
rlm@506: %% \setcounter{totalnumber}{4}     % 2 may work better
rlm@506: %% \setcounter{dbltopnumber}{2}    % for 2-column pages
rlm@506: %% \renewcommand{\dbltopfraction}{0.9}	% fit big float above 2-col. text
rlm@506: %% \renewcommand{\textfraction}{0.07}	% allow minimal text w. figs
rlm@506: %% %   Parameters for FLOAT pages (not text pages):
rlm@506: %% \renewcommand{\floatpagefraction}{0.7}	% require fuller float pages
rlm@506: %% % N.B.: floatpagefraction MUST be less than topfraction !!
rlm@506: %% \renewcommand{\dblfloatpagefraction}{0.7}	% require fuller float pages
rlm@506: %% % remember to use [htp] or [htpb] for placement
rlm@452: 
rlm@497: %\setmaxsecnumdepth{subsec}
rlm@506: 
rlm@506: 
rlm@506: % The thesis!
rlm@506: \pagestyle{plain}
rlm@428: \begin{document}
rlm@428: \include{cover}
rlm@428: \pagestyle{plain}
rlm@429: \tableofcontents
rlm@429: %\newpage
rlm@429: %\listoffigures
rlm@429: %\newpage
rlm@429: %\listoftables
rlm@428: \include{cortex}
rlm@429: \nocite{*}
rlm@488: \begin{singlespace}
rlm@506: \printbibliography
rlm@428: \end{singlespace}
rlm@428: \end{document}
rlm@427: 




