diff thesis/rlm-cortex-meng.tex @ 507:f2f029e1a6a9

fixing problems with listings.
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Mar 2014 00:53:14 -0400
parents 9ab8c19143f2
children f639e2139ce2
line wrap: on
line diff
     1.1 --- a/thesis/rlm-cortex-meng.tex	Sun Mar 30 00:21:50 2014 -0400
     1.2 +++ b/thesis/rlm-cortex-meng.tex	Sun Mar 30 00:53:14 2014 -0400
     1.3 @@ -27,18 +27,20 @@
     1.4  
     1.5  \documentclass[12pt,twoside,singlespace,vi]{mitthesis}
     1.6  %\documentclass[12pt,twoside,vi]{mitthesis}
     1.7 +
     1.8 +%\usepackage{floatrow}
     1.9  \usepackage[utf8]{inputenc}
    1.10  \usepackage[T1]{fontenc}
    1.11 -\usepackage{fixltx2e}
    1.12 -\usepackage{graphicx}
    1.13 -\usepackage{longtable}
    1.14 -\usepackage{float}
    1.15 -\usepackage{wrapfig}
    1.16 -\usepackage{rotating}
    1.17 +%\usepackage{fixltx2e}
    1.18 +%\usepackage{graphicx}
    1.19 +%\usepackage{longtable}
    1.20 +%\usepackage{float}
    1.21 +%\usepackage{wrapfig}
    1.22 +%\usepackage{rotating}
    1.23  \usepackage[normalem]{ulem}
    1.24  \usepackage{mathtools}
    1.25 -\usepackage{amsmath}
    1.26 -\usepackage{textcomp}
    1.27 +%\usepackage{amsmath}
    1.28 +%\usepackage{textcomp}
    1.29  \usepackage{marvosym}
    1.30  \usepackage{wasysym}
    1.31  \usepackage{amssymb}
    1.32 @@ -48,10 +50,13 @@
    1.33  \usepackage{rotating}
    1.34  \usepackage{caption}
    1.35  \usepackage{xcolor}
    1.36 -\usepackage{minted}
    1.37 +\usepackage{minted}    
    1.38  \usepackage[backend=bibtex,style=alphabetic]{biblatex}
    1.39 +%\floatsetup[listing]{style=Plaintop}    
    1.40  
    1.41  
    1.42 +\captionsetup{width=.85\textwidth,font=small}
    1.43 +
    1.44  % Configure minted source code listings.
    1.45  \usemintedstyle{default}
    1.46  \newminted{clojure}{fontsize=\footnotesize}
    1.47 @@ -60,7 +65,7 @@
    1.48  \newenvironment{anchoredListing}{\captionsetup{type=listing}}{}
    1.49  
    1.50  \renewenvironment{listing}{\begin{anchoredListing}}{
    1.51 -    \end{anchoredListing}\ignorespacesafterend
    1.52 +   \end{anchoredListing}
    1.53  }
    1.54  
    1.55  % Remove ugly boxes around hyperlinks