summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/listings/listings-bash.prf
blob: 81ab9c7bd0e4f74690638c4ff7fde9b07839af7f (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
%%
%% This is file `listings-bash.prf',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% lstdrvrs.dtx  (with options: `bash-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.3 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-bash.prf}
    [2018/09/02 1.7 listings language file]
\usepackage[rgb, x11names]{xcolor}

\lstset{%
  frame=tlb,%      the frame is open on the right side
  resetmargins=false,%
  rulesepcolor=\color{black},%
  numbers=left,%                % left
  numberstyle=\tiny,%
  numbersep=5pt,%
  firstnumber=1,%
  stepnumber=5,%
  columns=fixed,%               % to prevent inserting spaces
  fontadjust=true,%
  keepspaces=true,%
  basewidth=0.5em,%
  captionpos=t,%
  abovecaptionskip=\smallskipamount,% same amount as default
  belowcaptionskip=\smallskipamount,% in caption package
}
\lstdefinestyle{bash}{%
  backgroundcolor=\color{yellow!10},%
  basicstyle=\small\ttfamily,%
  identifierstyle=\color{black},%
  keywordstyle=\color{blue},%
  keywordstyle={[2]\color{cyan}},%
  keywordstyle={[3]\color{olive}},%
  stringstyle=\color{teal},%
  commentstyle=\itshape\color{orange},%
}%
\lstdefinestyle{bashbw}{%
  backgroundcolor={},%
  basicstyle=\small\ttfamily,%
  identifierstyle={},%
  keywordstyle=\bfseries,%
  stringstyle=\itshape,%
  commentstyle=\slshape,%
  rulesepcolor=\color{black},%
}%
\endinput
%%
%% End of file `listings-bash.prf'.