Debian Codegraph @

texmf-dist/doc/latex/listings-ext/listings.cfg

raw symbols SCIP
1 \ProvidesFile{listings.cfg}%
2 [2009/08/23 v1.0 listings configuration of listings-ext]
3
4 \RequirePackage{xcolor}
5
6 \def\lstlanguagefiles{lstlang1.sty,lstlang2.sty,lstlang3.sty}
7 \lstset{defaultdialect=[ANSI]C,
8 defaultdialect=[ISO]C++,
9 defaultdialect=[95]Fortran,
10 defaultdialect=Java,
11 defaultdialect=[LaTeX]TeX,
12 frame=tlb,
13 resetmargins=false,
14 }
15 \lstdefinestyle{colored-code}{
16 backgroundcolor=\color{yellow!10},%
17 basicstyle=\footnotesize\ttfamily,%
18 identifierstyle=\color{black},%
19 keywordstyle=\color{blue},%
20 stringstyle=\color{teal},%
21 commentstyle=\itshape\color{orange},%
22 }
23 \lstdefinestyle{bw-code}{
24 basicstyle=\small\fontfamily{lmtt}\fontseries{m}\fontshape{n}\selectfont,
25 % instead of lmtt one should use ul9 (luximono) for boldface characters
26 keywordstyle=\small\fontfamily{lmtt}\fontseries{b}\fontshape{n}\selectfont,
27 commentstyle=\small\fontfamily{lmtt}\fontseries{m}\fontshape{sl}\selectfont,
28 stringstyle=\small\fontfamily{lmtt}\fontseries{m}\fontshape{it}\selectfont,
29 }