Mercurial > cortex
comparison 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 |
comparison
equal
deleted
inserted
replaced
506:9ab8c19143f2 | 507:f2f029e1a6a9 |
---|---|
25 %% Page Intentionally Left Blank'', use the ``leftblank'' option, as | 25 %% Page Intentionally Left Blank'', use the ``leftblank'' option, as |
26 %% above. | 26 %% above. |
27 | 27 |
28 \documentclass[12pt,twoside,singlespace,vi]{mitthesis} | 28 \documentclass[12pt,twoside,singlespace,vi]{mitthesis} |
29 %\documentclass[12pt,twoside,vi]{mitthesis} | 29 %\documentclass[12pt,twoside,vi]{mitthesis} |
30 | |
31 %\usepackage{floatrow} | |
30 \usepackage[utf8]{inputenc} | 32 \usepackage[utf8]{inputenc} |
31 \usepackage[T1]{fontenc} | 33 \usepackage[T1]{fontenc} |
32 \usepackage{fixltx2e} | 34 %\usepackage{fixltx2e} |
33 \usepackage{graphicx} | 35 %\usepackage{graphicx} |
34 \usepackage{longtable} | 36 %\usepackage{longtable} |
35 \usepackage{float} | 37 %\usepackage{float} |
36 \usepackage{wrapfig} | 38 %\usepackage{wrapfig} |
37 \usepackage{rotating} | 39 %\usepackage{rotating} |
38 \usepackage[normalem]{ulem} | 40 \usepackage[normalem]{ulem} |
39 \usepackage{mathtools} | 41 \usepackage{mathtools} |
40 \usepackage{amsmath} | 42 %\usepackage{amsmath} |
41 \usepackage{textcomp} | 43 %\usepackage{textcomp} |
42 \usepackage{marvosym} | 44 \usepackage{marvosym} |
43 \usepackage{wasysym} | 45 \usepackage{wasysym} |
44 \usepackage{amssymb} | 46 \usepackage{amssymb} |
45 \usepackage{hyperref} | 47 \usepackage{hyperref} |
46 \usepackage{libertine} | 48 \usepackage{libertine} |
47 \usepackage{inconsolata} | 49 \usepackage{inconsolata} |
48 \usepackage{rotating} | 50 \usepackage{rotating} |
49 \usepackage{caption} | 51 \usepackage{caption} |
50 \usepackage{xcolor} | 52 \usepackage{xcolor} |
51 \usepackage{minted} | 53 \usepackage{minted} |
52 \usepackage[backend=bibtex,style=alphabetic]{biblatex} | 54 \usepackage[backend=bibtex,style=alphabetic]{biblatex} |
55 %\floatsetup[listing]{style=Plaintop} | |
53 | 56 |
57 | |
58 \captionsetup{width=.85\textwidth,font=small} | |
54 | 59 |
55 % Configure minted source code listings. | 60 % Configure minted source code listings. |
56 \usemintedstyle{default} | 61 \usemintedstyle{default} |
57 \newminted{clojure}{fontsize=\footnotesize} | 62 \newminted{clojure}{fontsize=\footnotesize} |
58 | 63 |
59 % Allow colored source code listing to break across pages. | 64 % Allow colored source code listing to break across pages. |
60 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{} | 65 \newenvironment{anchoredListing}{\captionsetup{type=listing}}{} |
61 | 66 |
62 \renewenvironment{listing}{\begin{anchoredListing}}{ | 67 \renewenvironment{listing}{\begin{anchoredListing}}{ |
63 \end{anchoredListing}\ignorespacesafterend | 68 \end{anchoredListing} |
64 } | 69 } |
65 | 70 |
66 % Remove ugly boxes around hyperlinks | 71 % Remove ugly boxes around hyperlinks |
67 \definecolor{dark-red}{rgb}{0.4,0.15,0.15} | 72 \definecolor{dark-red}{rgb}{0.4,0.15,0.15} |
68 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15} | 73 \definecolor{dark-blue}{rgb}{0.15,0.4,0.15} |