summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/listings/listings-fortran.prf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2014-09-06 22:11:55 +0000
committerNorbert Preining <preining@logic.at>2014-09-06 22:11:55 +0000
commita6b7d8438d77cd23031644b6cae4b86422b78772 (patch)
tree90cde2ff28966f743bea66eb4fe0e8ac345038ff /Master/texmf-dist/tex/latex/listings/listings-fortran.prf
parentf43bfe95d895c0709d16ae72ad656a0bbf107e66 (diff)
move listings .prf files
git-svn-id: svn://tug.org/texlive/trunk@35114 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/listings-fortran.prf')
-rw-r--r--Master/texmf-dist/tex/latex/listings/listings-fortran.prf66
1 files changed, 66 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/listings-fortran.prf b/Master/texmf-dist/tex/latex/listings/listings-fortran.prf
new file mode 100644
index 00000000000..f80fffba336
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/listings/listings-fortran.prf
@@ -0,0 +1,66 @@
+%%
+%% This is file `listings-fortran.prf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% lstdrvrs.dtx (with options: `fortran-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-fortran.prf}
+ [2014/03/04 1.5c 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{fortran}{%
+ 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{fortranbw}{%
+ backgroundcolor={},%
+ basicstyle=\small\ttfamily,%
+ identifierstyle={},%
+ keywordstyle=\bfseries,%
+ stringstyle=\itshape,%
+ commentstyle=\slshape,%
+ rulesepcolor=\color{black},%
+}%
+\endinput
+%%
+%% End of file `listings-fortran.prf'.