From 7a15287015fb33da2050ea2d75969a8c8ff3c49c Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Mon, 12 Mar 2018 10:42:25 -0500 Subject: 2018-03-12 10:42 --- dissertation.cls | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'dissertation.cls') diff --git a/dissertation.cls b/dissertation.cls index 9452608..f850af5 100644 --- a/dissertation.cls +++ b/dissertation.cls @@ -39,6 +39,16 @@ \RequirePackage{etoolbox} \AtBeginEnvironment{verse}{\singlespacing} +\newenvironment{dquote} + { + \singlespacing + \it + } + { + } + +\newcommand{\dsignature}[1]{\hfill \normalfont{-- #1}} + % THE FOLLOWING IS DARK MAGIC THAT I DON'T UNDERSTAND % I'M SURE I COULD DO BETTER... % - Blaise 2018-03-06 @@ -67,9 +77,13 @@ % --- code environment ---------------------------------------------------------------------------- -% \RequirePackage{minted} -\definecolor{light-gray}{gray}{0.90} -\newcommand{\code}[1]{\colorbox{light-gray}{\texttt{#1}}} +\RequirePackage{etoolbox} +\RequirePackage{minted} +\fvset{bgcolor=red} +\usemintedstyle{colorful} +\BeforeBeginEnvironment{minted}{\begin{singlespace}} +\AfterEndEnvironment{minted}{\end{singlespace}} +\newmint{python} % --- tables -------------------------------------------------------------------------------------- @@ -81,7 +95,8 @@ } { \end{table} - \clearpage} + \clearpage + } % --- graphics ------------------------------------------------------------------------------------ -- cgit v1.2.3