changeset 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
files thesis/rlm-cortex-meng.tex
diffstat 1 files changed, 33 insertions(+), 52 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/thesis/rlm-cortex-meng.tex	Sun Mar 30 00:17:54 2014 -0400
     1.2 +++ b/thesis/rlm-cortex-meng.tex	Sun Mar 30 00:21:50 2014 -0400
     1.3 @@ -52,14 +52,18 @@
     1.4  \usepackage[backend=bibtex,style=alphabetic]{biblatex}
     1.5  
     1.6  
     1.7 +% Configure minted source code listings.
     1.8 +\usemintedstyle{default}
     1.9 +\newminted{clojure}{fontsize=\footnotesize}
    1.10 +
    1.11 +% Allow colored source code listing to break across pages.
    1.12  \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
    1.13  
    1.14  \renewenvironment{listing}{\begin{anchoredListing}}{
    1.15      \end{anchoredListing}\ignorespacesafterend
    1.16  }
    1.17 -\addbibresource{cortex.bib}
    1.18  
    1.19 -
    1.20 +% Remove ugly boxes around hyperlinks
    1.21  \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
    1.22  \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
    1.23  \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
    1.24 @@ -68,59 +72,43 @@
    1.25      citecolor={dark-blue}, urlcolor={medium-blue}
    1.26  }
    1.27  
    1.28 -
    1.29 +% Dylan -- make labels on figures and tables simpler
    1.30  \renewcommand{\thesection}{\arabic{section}}
    1.31  \renewcommand{\thefigure}{\arabic{figure}}
    1.32  
    1.33 -%%%%% better source code display
    1.34 +% CORTEX annotated biblography
    1.35 +\addbibresource{cortex.bib}
    1.36 +\newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
    1.37  
    1.38  
    1.39 -%% dyl fonts
    1.40  
    1.41 -% \usemintedstyle{friendly}
    1.42 -% \usemintedstyle{perldoc}
    1.43 -%\definecolor{bg}{rgb}{0.95,0.95,0.95}
    1.44 -\definecolor{bg}{rgb}{0.625,0,0}
    1.45 -\usemintedstyle{default}
    1.46 -\newcommand{\why}[1]{\\ \par{\footnotesize #1}\\}
    1.47 -%\setmonofont[Scale=0.9,BoldFont={Inconsolata Bold}]{Inconsolata}
    1.48  
    1.49 -%\usepackage[gray]{xcolor}
    1.50 -\newminted{clojure}{fontsize=\footnotesize}
    1.51 -%\newminted{clojure}{fontsize=\footnotesize,bgcolor=bg}
    1.52 -%\newminted{clojure}{fontsize=\scriptsize}
    1.53 -
    1.54 -%\usepackage{lgrind}
    1.55 -\pagestyle{plain}
    1.56 -
    1.57 -
    1.58 -% Alter some LaTeX defaults for better treatment of figures:
    1.59 -% See p.105 of "TeX Unbound" for suggested values.
    1.60 -% See pp. 199-200 of Lamport's "LaTeX" book for details.
    1.61 -%   General parameters, for ALL pages:
    1.62 -\renewcommand{\topfraction}{0.9}	% max fraction of floats at top
    1.63 -\renewcommand{\bottomfraction}{0.8}	% max fraction of floats at bottom
    1.64 -%   Parameters for TEXT pages (not float pages):
    1.65 -\setcounter{topnumber}{2}
    1.66 -\setcounter{bottomnumber}{2}
    1.67 -\setcounter{totalnumber}{4}     % 2 may work better
    1.68 -\setcounter{dbltopnumber}{2}    % for 2-column pages
    1.69 -\renewcommand{\dbltopfraction}{0.9}	% fit big float above 2-col. text
    1.70 -\renewcommand{\textfraction}{0.07}	% allow minimal text w. figs
    1.71 -%   Parameters for FLOAT pages (not text pages):
    1.72 -\renewcommand{\floatpagefraction}{0.7}	% require fuller float pages
    1.73 -% N.B.: floatpagefraction MUST be less than topfraction !!
    1.74 -\renewcommand{\dblfloatpagefraction}{0.7}	% require fuller float pages
    1.75 -% remember to use [htp] or [htpb] for placement
    1.76 +%% % Alter some LaTeX defaults for better treatment of figures:
    1.77 +%% % See p.105 of "TeX Unbound" for suggested values.
    1.78 +%% % See pp. 199-200 of Lamport's "LaTeX" book for details.
    1.79 +%% %   General parameters, for ALL pages:
    1.80 +%% \renewcommand{\topfraction}{0.9}	% max fraction of floats at top
    1.81 +%% \renewcommand{\bottomfraction}{0.8}	% max fraction of floats at bottom
    1.82 +%% %   Parameters for TEXT pages (not float pages):
    1.83 +%% \setcounter{topnumber}{2}
    1.84 +%% \setcounter{bottomnumber}{2}
    1.85 +%% \setcounter{totalnumber}{4}     % 2 may work better
    1.86 +%% \setcounter{dbltopnumber}{2}    % for 2-column pages
    1.87 +%% \renewcommand{\dbltopfraction}{0.9}	% fit big float above 2-col. text
    1.88 +%% \renewcommand{\textfraction}{0.07}	% allow minimal text w. figs
    1.89 +%% %   Parameters for FLOAT pages (not text pages):
    1.90 +%% \renewcommand{\floatpagefraction}{0.7}	% require fuller float pages
    1.91 +%% % N.B.: floatpagefraction MUST be less than topfraction !!
    1.92 +%% \renewcommand{\dblfloatpagefraction}{0.7}	% require fuller float pages
    1.93 +%% % remember to use [htp] or [htpb] for placement
    1.94  
    1.95  %\setmaxsecnumdepth{subsec}
    1.96 +
    1.97 +
    1.98 +% The thesis!
    1.99 +\pagestyle{plain}
   1.100  \begin{document}
   1.101 -
   1.102  \include{cover}
   1.103 -% Some departments (e.g. 5) require an additional signature page.  See
   1.104 -% signature.tex for more information and uncomment the following line if
   1.105 -% applicable.
   1.106 -% \include{signature}
   1.107  \pagestyle{plain}
   1.108  \tableofcontents
   1.109  %\newpage
   1.110 @@ -129,15 +117,8 @@
   1.111  %\listoftables
   1.112  \include{cortex}
   1.113  \nocite{*}
   1.114 -%\include{chap2}
   1.115 -%\appendix
   1.116 -
   1.117 -%\bibliographystyle{agsm}
   1.118 -%\bibliographystyle{apa}
   1.119 -%\bibliographystyle{plainnat}
   1.120 -%\include{user-guide}
   1.121  \begin{singlespace}
   1.122 -%\printbibliography
   1.123 +\printbibliography
   1.124  \end{singlespace}
   1.125  \end{document}
   1.126