source: doc/LaTeXmacros/listings/listings-acm.prf @ c45170a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since c45170a was 9724df0, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

update latex macros, and user and refrat manuals

  • Property mode set to 100644
File size: 1.8 KB
Line 
1%%
2%% This is file `listings-acm.prf',
3%% generated with the docstrip utility.
4%%
5%% The original source files were:
6%%
7%% lstdrvrs.dtx  (with options: `acm-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-acm.prf}
25    [2015/06/04 1.6 listings language file]
26\usepackage[rgb, x11names]{xcolor}
27
28\definecolor{Comments}{rgb}{0.00,0.50,0.00}
29\definecolor{KeyWords}{rgb}{0.00,0.00,0.63}
30\definecolor{Strings}{rgb}{0.84,0.00,0.00}
31
32\lstdefinestyle{ACM}{%
33  basicstyle=\scriptsize\ttfamily,%
34  keywordstyle=\color{KeyWords},%
35  showstringspaces=false,%
36  identifierstyle=\color{black},%
37  commentstyle=\color{Comments},%
38  stringstyle=\color{Strings},%
39  frame=shadowbox,%             % for ACM-Code scrartcl commented out
40  rulesepcolor=\color{black},%
41  numbers=left,%                % left
42  firstnumber=1,%
43  stepnumber=5,%
44  columns=fixed,%               % to prevent inserting spaces
45  fontadjust=true,%
46  basewidth=0.5em,%
47  captionpos=t,%
48  abovecaptionskip=\smallskipamount,% same amount as default
49  belowcaptionskip=\smallskipamount,% in caption package
50}%
51\endinput
52%%
53%% End of file `listings-acm.prf'.
Note: See TracBrowser for help on using the repository browser.