Skip to content
Snippets Groups Projects
Commit c3c325ba authored by GARION Christophe's avatar GARION Christophe
Browse files

[listings] correct caption

parent 1f9bce6f
No related branches found
No related tags found
Loading
......@@ -182,15 +182,10 @@
\RequirePackage{xcolor}
\RequirePackage{caption}
\DeclareCaptionFont{white}{\color{black}}
\DeclareCaptionFormat{listing}{%
\colorbox{gray}{%
\noindent\parbox{\dimexpr\columnwidth-2\fboxsep}{#1#2#3}%
}%
}
\captionsetup[lstlisting]{format=listing, labelfont=white, textfont=white,
singlelinecheck=false, margin=0pt, font={bf}}
\DeclareCaptionFont{white}{\color{white}}
\captionsetup[lstlisting]{box=colorbox, boxcolor=gray, labelfont=white,
textfont=white, singlelinecheck=false, margin=0pt, font={bf}}
\colorlet{isae@bggray}{gray!20}
% styles
......
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