summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/showexpl/showexpl.cfg
blob: 4712d03eec74bfd7dc4fa2924bcab2ec3ad11182 (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
% config file for showexpl.sty
%
% Copyright Herbert Voss, 2005
% Licence: LPPL.

\ProvidesFile{showexpl.cfg}
  [2005/08/28 v0.03 Definitions for the showexpl package (hv)]
%
\RequirePackage{xcolor}
\definecolor{hellgelb}{rgb}{1,1,0.85}
\definecolor{colKeys}{rgb}{0,0,1}
\definecolor{colIdentifier}{rgb}{0,0,0}
\definecolor{colComments}{rgb}{1,0,0}
\definecolor{colString}{rgb}{0,0.5,0}

\lstset{%
     preset=\centering,%
     rframe={},%
     language=PSTricks,%
%     language=TeX,%
     float=hbp,%
     basicstyle=\footnotesize\ttfamily,%
     identifierstyle=\color{colIdentifier},%
     keywordstyle=\color{colKeys},%
     stringstyle=\color{colString},%
     commentstyle=\itshape\color{colComments},%
%    columns=flexible,%
%    columns=fullflexible,%
     columns=fixed,
     tabsize=4,%
     frame=single,%
     extendedchars=true,%
     showspaces=false,%
     showstringspaces=false,%
     numbers=left,%
     numberstyle=\tiny\ttfamily,%
     numbersep=1em,%
     breaklines=true,%
     breakindent=10pt,%
     backgroundcolor=\color{hellgelb},%
     breakautoindent=true,%
     captionpos=t,%
     xleftmargin=1em,%
     xrightmargin=\fboxsep,%
     numbersep=1em,%
%     xrightmargin=-1cm,% 
%     relwidth=0.5,%
%     columnsep=10pt%
}
\renewcommand*\SX@Info{}%