diff options
Diffstat (limited to 'dissertation.cls')
-rw-r--r-- | dissertation.cls | 13 |
1 files changed, 10 insertions, 3 deletions
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} |