diff thesis/rlm-cortex-meng.tex @ 505:c15e24d24396

possibe fix using anchoredListing
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Mar 2014 00:17:54 -0400
parents c7ff3ec5c3ef
children 9ab8c19143f2
line wrap: on
line diff
     1.1 --- a/thesis/rlm-cortex-meng.tex	Sat Mar 29 23:57:29 2014 -0400
     1.2 +++ b/thesis/rlm-cortex-meng.tex	Sun Mar 30 00:17:54 2014 -0400
     1.3 @@ -47,15 +47,19 @@
     1.4  \usepackage{inconsolata}
     1.5  \usepackage{rotating}
     1.6  \usepackage{caption}
     1.7 +\usepackage{xcolor}
     1.8 +\usepackage{minted}
     1.9 +\usepackage[backend=bibtex,style=alphabetic]{biblatex}
    1.10  
    1.11 -\usepackage{afterpage}
    1.12  
    1.13 -\afterpage{\clearpage}          %
    1.14 +\newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
    1.15  
    1.16 -\usepackage[backend=bibtex,style=alphabetic]{biblatex}
    1.17 +\renewenvironment{listing}{\begin{anchoredListing}}{
    1.18 +    \end{anchoredListing}\ignorespacesafterend
    1.19 +}
    1.20  \addbibresource{cortex.bib}
    1.21  
    1.22 -\usepackage{xcolor}
    1.23 +
    1.24  \definecolor{dark-red}{rgb}{0.4,0.15,0.15}
    1.25  \definecolor{dark-blue}{rgb}{0.15,0.4,0.15}
    1.26  \definecolor{medium-blue}{rgb}{0.15,0.4,0.9}
    1.27 @@ -69,7 +73,7 @@
    1.28  \renewcommand{\thefigure}{\arabic{figure}}
    1.29  
    1.30  %%%%% better source code display
    1.31 -\usepackage{minted}
    1.32 +
    1.33  
    1.34  %% dyl fonts
    1.35  
    1.36 @@ -133,7 +137,7 @@
    1.37  %\bibliographystyle{plainnat}
    1.38  %\include{user-guide}
    1.39  \begin{singlespace}
    1.40 -\printbibliography
    1.41 +%\printbibliography
    1.42  \end{singlespace}
    1.43  \end{document}
    1.44