source: doc/LaTeXmacros/listings/listings-bash.prf @ 9724df0

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglergc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since 9724df0 was 9724df0, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

update latex macros, and user and refrat manuals

  • Property mode set to 100644
File size: 2.0 KB
Line 
1%%
2%% This is file `listings-bash.prf',
3%% generated with the docstrip utility.
4%%
5%% The original source files were:
6%%
7%% lstdrvrs.dtx  (with options: `bash-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.3 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 <j.hoffmann@fh-aachen.de>.
23%%
24\ProvidesFile{listings-bash.prf}
25    [2015/06/04 1.6 listings language file]
26\usepackage[rgb, x11names]{xcolor}
27
28\lstset{%
29  frame=tlb,%      the frame is open on the right side
30  resetmargins=false,%
31  rulesepcolor=\color{black},%
32  numbers=left,%                % left
33  numberstyle=\tiny,%
34  numbersep=5pt,%
35  firstnumber=1,%
36  stepnumber=5,%
37  columns=fixed,%               % to prevent inserting spaces
38  fontadjust=true,%
39  keepspaces=true,%
40  basewidth=0.5em,%
41  captionpos=t,%
42  abovecaptionskip=\smallskipamount,% same amount as default
43  belowcaptionskip=\smallskipamount,% in caption package
44}
45\lstdefinestyle{bash}{%
46  backgroundcolor=\color{yellow!10},%
47  basicstyle=\small\ttfamily,%
48  identifierstyle=\color{black},%
49  keywordstyle=\color{blue},%
50  keywordstyle={[2]\color{cyan}},%
51  keywordstyle={[3]\color{olive}},%
52  stringstyle=\color{teal},%
53  commentstyle=\itshape\color{orange},%
54}%
55\lstdefinestyle{bashbw}{%
56  backgroundcolor={},%
57  basicstyle=\small\ttfamily,%
58  identifierstyle={},%
59  keywordstyle=\bfseries,%
60  stringstyle=\itshape,%
61  commentstyle=\slshape,%
62  rulesepcolor=\color{black},%
63}%
64\endinput
65%%
66%% End of file `listings-bash.prf'.
Note: See TracBrowser for help on using the repository browser.