From ac6bde61f90e6684b5b5b79286ebe58d08c09f9c Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Mon, 19 Mar 2018 17:11:06 -0500 Subject: 2018-03-19 17:11 --- dissertation.cls | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'dissertation.cls') diff --git a/dissertation.cls b/dissertation.cls index c22e3c8..2c6d168 100644 --- a/dissertation.cls +++ b/dissertation.cls @@ -59,19 +59,24 @@ \newenvironment{denumerate} { \begin{enumerate} - \singlespacing + \singlespacing } { \end{enumerate} } +\setlist[itemize, 1]{nosep} +\setlist[itemize, 2]{nosep, topsep=-5ex} +\setlist[itemize, 3]{nosep, topsep=-5ex} +\setlist[itemize, 4]{nosep, topsep=-5ex} \newenvironment{ditemize} { - \begin{enumerate} + \begin{itemize} + \renewcommand{\labelitemi}{$\rightarrow$} \singlespacing } { - \end{enumerate} + \end{itemize} } % --- code environment ---------------------------------------------------------------------------- @@ -107,6 +112,8 @@ \BeforeBeginEnvironment{codefragment}{\begin{singlespace}\stepcounter{equation}} \AfterEndEnvironment{codefragment}{\end{singlespace}} +\newmintinline[python]{python}{bgcolor=bg} + % --- tables -------------------------------------------------------------------------------------- \newenvironment{dtable} -- cgit v1.2.3