summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/listings/listings-hansl.prf
blob: a9dbb8804c70f592cc12928b026036978814230a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
%%
%% This is file `listings-hansl.prf',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% lstdrvrs.dtx  (with options: `hansl-prf')
%% 
%% The listings package is copyright 1996--2004 Carsten Heinz, and
%% continued maintenance on the package is copyright 2006--2007 Brooks
%% Moses. From 2013 on the maintenance is done by Jobst Hoffmann.
%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/
%% 2007/2013 any individual author listed in this file.
%%
%% This file is distributed under the terms of the LaTeX Project Public
%% License from CTAN archives in directory  macros/latex/base/lppl.txt.
%% Either version 1.3c or, at your option, any later version.
%%
%% This file is completely free and comes without any warranty.
%%
%% Send comments and ideas on the package, error reports and additional
%% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>.
%%
\ProvidesFile{listings-hansl.prf}
    [2020/03/24 1.8d listings language file]
\usepackage[rgb, x11names]{xcolor}

\lstdefinestyle{hanslbw}{%
  keywordstyle = \bfseries,
  keywordstyle = [2]\bfseries,
  keywordstyle = [3]\itshape,
  keywordstyle = [4]\underbar,
  commentstyle = \ttfamily,
  stringstyle = \ttfamily
}
\lstdefinestyle{hanslcolor}{%
  basicstyle = \small\ttfamily,
  keywordstyle = \color{red},
  keywordstyle = [2]\color{green},
  keywordstyle = [3]\color{cyan},
  keywordstyle = [4]\color{olive},
  commentstyle = \color{blue}\rmfamily, %
  stringstyle = \color{magenta},
  moredelim = [l][\color{green}]{--}
}%
\endinput
%%
%% End of file `listings-hansl.prf'.