Skip to content
Snippets Groups Projects
Commit 69cf64b7 authored by Michael Grinberg's avatar Michael Grinberg
Browse files

Formatierung von Listing-Captions ähnlich zu der von Bildern und Tabellen

parent c3854185
No related branches found
No related tags found
No related merge requests found
......@@ -1366,6 +1366,24 @@ afterskip=\myparagraphafterskip%
singlelinecheck = true, % false (true=bei einer Zeile immer zentrieren)
position = bottom %top
}
\captionsetup[lstlisting]{
margin = 0pt,
aboveskip = \myaboveskip,
belowskip = \mybelowskip,
captionskip = \mycaptionskip,
%skip = \mycaptionskip,
font = {small,rm},
labelfont = {small,bf},
%format = plain, % oder 'hang'
format = hang, %zweite und weitere Zeilen einrücken (an die erste ausrichten)
indention = 0em, % Einruecken der Beschriftung
labelsep = colon, %period, space, quad, newline
%justification = RaggedRight, % Falettersatz
%justification = centering, % zentriert
justification = justified, % Blocksatz
singlelinecheck = true, % false (true=bei einer Zeile immer zentrieren)
position = bottom %top
}
%%% Bugfix Workaround
\DeclareCaptionOption{parskip}[]{}
\DeclareCaptionOption{parindent}[]{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment