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@428: \usepackage[utf8]{inputenc} rlm@428: \usepackage[T1]{fontenc} rlm@428: \usepackage{fixltx2e} rlm@428: \usepackage{graphicx} rlm@428: \usepackage{longtable} rlm@428: \usepackage{float} rlm@428: \usepackage{wrapfig} rlm@428: \usepackage{rotating} rlm@428: \usepackage[normalem]{ulem} rlm@476: \usepackage{mathtools} rlm@428: \usepackage{amsmath} rlm@428: \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@452: rlm@465: \usepackage{afterpage} rlm@452: rlm@465: \afterpage{\clearpage} % rlm@429: rlm@431: \usepackage[backend=bibtex,style=alphabetic]{biblatex} rlm@431: \addbibresource{cortex.bib} rlm@431: rlm@431: \usepackage{xcolor} 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@452: rlm@429: \renewcommand{\thesection}{\arabic{section}} rlm@445: \renewcommand{\thefigure}{\arabic{figure}} rlm@427: rlm@428: %%%%% better source code display rlm@428: \usepackage{minted} rlm@427: rlm@429: %% dyl fonts rlm@429: rlm@428: % \usemintedstyle{friendly} rlm@428: % \usemintedstyle{perldoc} rlm@428: %\definecolor{bg}{rgb}{0.95,0.95,0.95} rlm@429: \definecolor{bg}{rgb}{0.625,0,0} rlm@428: \usemintedstyle{default} rlm@491: \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\} rlm@429: %\setmonofont[Scale=0.9,BoldFont={Inconsolata Bold}]{Inconsolata} rlm@427: rlm@429: %\usepackage[gray]{xcolor} rlm@429: \newminted{clojure}{fontsize=\footnotesize} rlm@429: %\newminted{clojure}{fontsize=\footnotesize,bgcolor=bg} rlm@429: %\newminted{clojure}{fontsize=\scriptsize} rlm@427: rlm@428: %\usepackage{lgrind} rlm@428: \pagestyle{plain} rlm@427: rlm@452: rlm@465: % Alter some LaTeX defaults for better treatment of figures: rlm@465: % See p.105 of "TeX Unbound" for suggested values. rlm@465: % See pp. 199-200 of Lamport's "LaTeX" book for details. rlm@465: % General parameters, for ALL pages: rlm@465: \renewcommand{\topfraction}{0.9} % max fraction of floats at top rlm@465: \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom rlm@465: % Parameters for TEXT pages (not float pages): rlm@465: \setcounter{topnumber}{2} rlm@465: \setcounter{bottomnumber}{2} rlm@465: \setcounter{totalnumber}{4} % 2 may work better rlm@465: \setcounter{dbltopnumber}{2} % for 2-column pages rlm@465: \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text rlm@465: \renewcommand{\textfraction}{0.07} % allow minimal text w. figs rlm@465: % Parameters for FLOAT pages (not text pages): rlm@465: \renewcommand{\floatpagefraction}{0.7} % require fuller float pages rlm@465: % N.B.: floatpagefraction MUST be less than topfraction !! rlm@465: \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages rlm@465: % remember to use [htp] or [htpb] for placement rlm@452: rlm@497: %\setmaxsecnumdepth{subsec} rlm@428: \begin{document} rlm@427: rlm@428: \include{cover} rlm@428: % Some departments (e.g. 5) require an additional signature page. See rlm@428: % signature.tex for more information and uncomment the following line if rlm@428: % applicable. rlm@428: % \include{signature} 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@428: %\include{chap2} rlm@488: %\appendix rlm@488: rlm@429: %\bibliographystyle{agsm} rlm@429: %\bibliographystyle{apa} rlm@431: %\bibliographystyle{plainnat} rlm@488: %\include{user-guide} rlm@488: \begin{singlespace} rlm@431: \printbibliography rlm@428: \end{singlespace} rlm@428: \end{document} rlm@427: