Debian Codegraph @

texmf-dist/tex/latex/listings/listings-hansl.prf

raw
1 %%
2 %% This is file `listings-hansl.prf',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lstdrvrs.dtx (with options: `hansl-prf')
8 %%
9 %% The listings package is copyright 1996--2004 Carsten Heinz, and
10 %% continued maintenance on the package is copyright 2006--2007 Brooks
11 %% Moses. From 2013 on the maintenance is done by Jobst Hoffmann.
12 %% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/
13 %% 2007/2013 any individual author listed in this file.
14 %%
15 %% This file is distributed under the terms of the LaTeX Project Public
16 %% License from CTAN archives in directory macros/latex/base/lppl.txt.
17 %% Either version 1.3c or, at your option, any later version.
18 %%
19 %% This file is completely free and comes without any warranty.
20 %%
21 %% Send comments and ideas on the package, error reports and additional
22 %% programming languages to Jobst Hoffmann at <[email protected]>.
23 %%
24 \ProvidesFile{listings-hansl.prf}
25 [2025/11/14 1.11b listings language file]
26 \usepackage[rgb, x11names]{xcolor}
27
28 \lstdefinestyle{hanslbw}{%
29 keywordstyle = \bfseries,
30 keywordstyle = [2]\bfseries,
31 keywordstyle = [3]\itshape,
32 keywordstyle = [4]\underbar,
33 commentstyle = \ttfamily,
34 stringstyle = \ttfamily
35 }
36 \lstdefinestyle{hanslcolor}{%
37 basicstyle = \small\ttfamily,
38 keywordstyle = \color{red},
39 keywordstyle = [2]\color{green},
40 keywordstyle = [3]\color{cyan},
41 keywordstyle = [4]\color{olive},
42 commentstyle = \color{blue}\rmfamily, %
43 stringstyle = \color{magenta},
44 moredelim = [l][\color{green}]{--}
45 }%
46 \endinput
47 %%
48 %% End of file `listings-hansl.prf'.