Mercurial > cortex
view thesis/rlm-cortex-meng.tex @ 560:1e5b5eb8c576
solved problem with biblography.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 02 May 2014 15:36:36 -0400 |
parents | 20e0ec94b35c |
children | b9b8567c14ee |
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 copyright7 %% assignment before submission. If you notice any8 %% discrepancies between these templates and the9 %% MIT Libraries' specs, please let us know10 %% by e-mailing thesis@mit.edu12 %% The documentclass options along with the pagestyle can be used to generate13 %% a technical report, a draft copy, or a regular thesis. You may need to14 %% re-specify the pagestyle after you \include cover.tex. For more15 %% 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 the20 %% ``vi'' option, as above.21 %%22 %\documentclass[12pt,twoside,leftblank]{mitthesis}23 %%24 %% If you want blank pages before new chapters to be labelled ``This25 %% Page Intentionally Left Blank'', use the ``leftblank'' option, as26 %% 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[headheight=14pt]{geometry}35 %\usepackage{fixltx2e}36 %\usepackage{graphicx}37 %\usepackage{longtable}38 %\usepackage{float}39 %\usepackage{wrapfig}40 %\usepackage{rotating}41 \usepackage[normalem]{ulem}42 \usepackage{mathtools}43 %\usepackage{amsmath}44 %\usepackage{textcomp}45 \usepackage{marvosym}46 \usepackage{wasysym}47 \usepackage{amssymb}49 \usepackage{libertine}50 \usepackage{inconsolata}51 \usepackage{rotating}52 \usepackage{caption}53 \usepackage{xcolor}54 \usepackage{minted}55 \usepackage{fancyhdr}56 \usepackage{hyperref}57 \fancyhead[RO,LE]{\bfseries \nouppercase{\rightmark}}58 \renewcommand{\subsectionmark}[1]{\markright{#1}}59 \renewcommand{\sectionmark}[1]{\markright{#1}}61 \usepackage[backend=bibtex,style=authoryear]{biblatex}62 %\usepackage[section]{placeins}63 \usepackage[section,subsection]{extraplaceins}64 %\floatsetup[listing]{style=Plaintop}67 \captionsetup{width=.85\textwidth,font=small}69 % Configure minted source code listings.70 \usemintedstyle{default}71 \newminted{clojure}{fontsize=\footnotesize}72 \newminted{java}{fontsize=\footnotesize}73 \newminted{c}{fontsize=\footnotesize}76 % Allow colored source code listing to break across pages.77 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}79 \renewenvironment{listing}{\begin{anchoredListing}}{80 \end{anchoredListing}81 }83 % Remove ugly boxes around hyperlinks84 \definecolor{dark-red}{rgb}{0.4,0.15,0.15}85 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}86 \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}87 \hypersetup{88 colorlinks, linkcolor={dark-red},89 citecolor={dark-blue}, urlcolor={medium-blue}90 }92 % Dylan -- make labels on figures and tables simpler93 \renewcommand{\thesection}{\arabic{section}}94 \renewcommand{\thefigure}{\arabic{figure}}96 % CORTEX annotated biblography97 \addbibresource{cortex.bib}98 \newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}103 %% % Alter some LaTeX defaults for better treatment of figures:104 %% % See p.105 of "TeX Unbound" for suggested values.105 %% % See pp. 199-200 of Lamport's "LaTeX" book for details.106 %% % General parameters, for ALL pages:107 %% \renewcommand{\topfraction}{0.9} % max fraction of floats at top108 %% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom109 %% % Parameters for TEXT pages (not float pages):110 %% \setcounter{topnumber}{2}111 %% \setcounter{bottomnumber}{2}112 %% \setcounter{totalnumber}{4} % 2 may work better113 %% \setcounter{dbltopnumber}{2} % for 2-column pages114 %% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text115 %% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs116 %% % Parameters for FLOAT pages (not text pages):117 %% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages118 %% % N.B.: floatpagefraction MUST be less than topfraction !!119 %% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages120 %% % remember to use [htp] or [htpb] for placement122 %\setmaxsecnumdepth{subsec}125 % The thesis!126 \pagestyle{plain}128 \begin{document}129 \include{cover}131 %\pagestyle{plain}132 \tableofcontents133 %\newpage134 %\listoffigures135 %\newpage136 %\listoftables137 \pagestyle{fancy}138 \include{cortex}139 \pagestyle{plain}140 \nocite{*}141 \begin{singlespace}142 \printbibliography143 \end{singlespace}144 \end{document}