# HG changeset patch # User Robert McIntyre # Date 1396153310 14400 # Node ID 9ab8c19143f28c36af723ed034dae2382d6ad25b # Parent c15e24d243963c8835fad9f2bc5cd1d60649d58e cleanup main thesis code. diff -r c15e24d24396 -r 9ab8c19143f2 thesis/rlm-cortex-meng.tex --- a/thesis/rlm-cortex-meng.tex Sun Mar 30 00:17:54 2014 -0400 +++ b/thesis/rlm-cortex-meng.tex Sun Mar 30 00:21:50 2014 -0400 @@ -52,14 +52,18 @@ \usepackage[backend=bibtex,style=alphabetic]{biblatex} +% Configure minted source code listings. +\usemintedstyle{default} +\newminted{clojure}{fontsize=\footnotesize} + +% Allow colored source code listing to break across pages. \newenvironment{anchoredListing}{\captionsetup{type=listing}}{} \renewenvironment{listing}{\begin{anchoredListing}}{ \end{anchoredListing}\ignorespacesafterend } -\addbibresource{cortex.bib} - +% Remove ugly boxes around hyperlinks \definecolor{dark-red}{rgb}{0.4,0.15,0.15} \definecolor{dark-blue}{rgb}{0.15,0.4,0.15} \definecolor{medium-blue}{rgb}{0.15,0.4,0.9} @@ -68,59 +72,43 @@ citecolor={dark-blue}, urlcolor={medium-blue} } - +% Dylan -- make labels on figures and tables simpler \renewcommand{\thesection}{\arabic{section}} \renewcommand{\thefigure}{\arabic{figure}} -%%%%% better source code display +% CORTEX annotated biblography +\addbibresource{cortex.bib} +\newcommand{\why}[1]{\\ \par{\footnotesize #1}\\} -%% dyl fonts -% \usemintedstyle{friendly} -% \usemintedstyle{perldoc} -%\definecolor{bg}{rgb}{0.95,0.95,0.95} -\definecolor{bg}{rgb}{0.625,0,0} -\usemintedstyle{default} -\newcommand{\why}[1]{\\ \par{\footnotesize #1}\\} -%\setmonofont[Scale=0.9,BoldFont={Inconsolata Bold}]{Inconsolata} -%\usepackage[gray]{xcolor} -\newminted{clojure}{fontsize=\footnotesize} -%\newminted{clojure}{fontsize=\footnotesize,bgcolor=bg} -%\newminted{clojure}{fontsize=\scriptsize} - -%\usepackage{lgrind} -\pagestyle{plain} - - -% Alter some LaTeX defaults for better treatment of figures: -% See p.105 of "TeX Unbound" for suggested values. -% See pp. 199-200 of Lamport's "LaTeX" book for details. -% General parameters, for ALL pages: -\renewcommand{\topfraction}{0.9} % max fraction of floats at top -\renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom -% Parameters for TEXT pages (not float pages): -\setcounter{topnumber}{2} -\setcounter{bottomnumber}{2} -\setcounter{totalnumber}{4} % 2 may work better -\setcounter{dbltopnumber}{2} % for 2-column pages -\renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text -\renewcommand{\textfraction}{0.07} % allow minimal text w. figs -% Parameters for FLOAT pages (not text pages): -\renewcommand{\floatpagefraction}{0.7} % require fuller float pages -% N.B.: floatpagefraction MUST be less than topfraction !! -\renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages -% remember to use [htp] or [htpb] for placement +%% % Alter some LaTeX defaults for better treatment of figures: +%% % See p.105 of "TeX Unbound" for suggested values. +%% % See pp. 199-200 of Lamport's "LaTeX" book for details. +%% % General parameters, for ALL pages: +%% \renewcommand{\topfraction}{0.9} % max fraction of floats at top +%% \renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom +%% % Parameters for TEXT pages (not float pages): +%% \setcounter{topnumber}{2} +%% \setcounter{bottomnumber}{2} +%% \setcounter{totalnumber}{4} % 2 may work better +%% \setcounter{dbltopnumber}{2} % for 2-column pages +%% \renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text +%% \renewcommand{\textfraction}{0.07} % allow minimal text w. figs +%% % Parameters for FLOAT pages (not text pages): +%% \renewcommand{\floatpagefraction}{0.7} % require fuller float pages +%% % N.B.: floatpagefraction MUST be less than topfraction !! +%% \renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages +%% % remember to use [htp] or [htpb] for placement %\setmaxsecnumdepth{subsec} + + +% The thesis! +\pagestyle{plain} \begin{document} - \include{cover} -% Some departments (e.g. 5) require an additional signature page. See -% signature.tex for more information and uncomment the following line if -% applicable. -% \include{signature} \pagestyle{plain} \tableofcontents %\newpage @@ -129,15 +117,8 @@ %\listoftables \include{cortex} \nocite{*} -%\include{chap2} -%\appendix - -%\bibliographystyle{agsm} -%\bibliographystyle{apa} -%\bibliographystyle{plainnat} -%\include{user-guide} \begin{singlespace} -%\printbibliography +\printbibliography \end{singlespace} \end{document}