defaulted to listing captions below listings

This commit is contained in:
Mike Nußbaumer 2022-01-21 15:55:04 +01:00
parent cf9cb76ecc
commit cea5f30db1
No known key found for this signature in database
GPG Key ID: 5A46D61387C68B17

View File

@ -204,6 +204,7 @@ $if(listings)$
\newcommand{\passthrough}[1]{#1}
\lstset{defaultdialect=[5.3]Lua}
\lstset{defaultdialect=[x86masm]Assembler}
\lstset{captionpos=b} % sets the position of the listing headers to bottom
$endif$
% Redefine the verbatim environment 'Highlighting' to break long lines (with
@ -249,8 +250,8 @@ $endif$
numberstyle = \color{listing-numbers},
aboveskip = 1.0em,
belowskip = 0.1em,
abovecaptionskip = 0em,
belowcaptionskip = 1.0em,
abovecaptionskip = 1.0em, % when listing header is on bottom set to 1.0em otherwise 0em
belowcaptionskip = 0em, % when listing header is on bottom set to 0em otherwise 1.0em
keywordstyle = {\color{listing-keyword}\bfseries},
keywordstyle = {[2]\color{listing-keyword-2}\bfseries},
keywordstyle = {[3]\color{listing-keyword-3}\bfseries\itshape},