Skip to content
Snippets Groups Projects

Full rebase of Marco's changes

Open Simon Schuster requested to merge marcos-full-changes-rebased into master
1 file
+ 9
8
Compare changes
  • Side-by-side
  • Inline
+ 9
8
@@ -541,15 +541,12 @@
% -----------------------------------------------------------------------------
% Listings
% -----------------------------------------------------------------------------
\ifthenelse{\boolean{germanthesis}}{
\newcommand{\listoflistingscaption}{Quellcodeverzeichnis}
\ifthenelse{\boolean{earlydraft}}{
\RequirePackage[chapter, draft=true, newfloat]{minted}
}{
\newcommand{\listoflistingscaption}{List of Listings}
\RequirePackage[chapter, newfloat]{minted}
}
\RequirePackage{newfloat}
\SetupFloatingEnvironment{listing}{listname=\listoflistingscaption}
\captionsetup[listing]{aboveskip=0pt}
\setminted{
@@ -563,6 +560,7 @@
numbersep = 5pt,
xleftmargin=15pt,
tabsize = 4,
frame = lines,
}
\setmintedinline{
@@ -588,11 +586,14 @@
\newmintinline[bashinline]{bash}{}
\ifthenelse{\boolean{germanthesis}}{
\renewcommand{\listoflistingscaption}{Quellcodeverzeichnis}
\newcommand{\listoflistingscaption}{Quellcodeverzeichnis}
}{
\renewcommand{\listoflistingscaption}{List of Listings}
\newcommand{\listoflistingscaption}{List of Listings}
}
\RequirePackage{newfloat}
\SetupFloatingEnvironment{listing}{listname=\listoflistingscaption}
% leave a gap between entries in list of listings that belong to different
% chapters so it is consistent with list of tables and figures
\let\Chapter\chapter
Loading