summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pstricks/pst-news.sty
blob: 8ce484574a318c6b01eb7906eaf6d815235fbf7c (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
%% $Id: pst-news.sty 9 2008-01-03 20:22:50Z herbert $
\ProvidesPackage{pst-news}[2008/02/01 definitions for 
    PSTricks news (hv)]
%
%\usepackage{pamathx}%    use this if you have the palatino math font
\usepackage{arev}%  use this if you do not have the palatino math font
%\usepackage[scaled=0.9]{luximono}%  use this if you do not have the palatino math font
%
\RequirePackage{pstricks}
\let\PSTfiledate\filedate
\let\PSTfileversion\fileversion
\RequirePackage{pst-node}
\let\NODEfiledate\filedate
\let\NODEfileversion\fileversion
\RequirePackage{pst-plot}
\let\PLOTfiledate\filedate
\let\PLOTfileversion\fileversion
\RequirePackage{pst-tree}
\let\TREEfiledate\filedate
\let\TREEfileversion\fileversion
%
\RequirePackage{showexpl}
\RequirePackage{makeidx}
\makeindex
\RequirePackage{tabularx,array,longtable}
\SpecialCoor
\RequirePackage{ragged2e}
\definecolor{hellgelb}{rgb}{1,1,0.8}
\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}
%
\usepackage{amsmath}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{xkvview}
\usepackage{pst-math}
\RequirePackage{listings}
\lstset{%
    language=PSTricks,%
    float=hbp,%
    basicstyle=\ttfamily\small, %
    identifierstyle=\color{colIdentifier}, %
    keywordstyle=\color{colKeys}, %
    stringstyle=\color{colString}, %
    commentstyle=\color{colComments}, %
    columns=flexible, %
    tabsize=4, %
    frame=single, %
    extendedchars=true, %
    showspaces=false, %
    showstringspaces=false, %
    numbers=left, %
    numberstyle=\tiny, %
    breaklines=true, %
%    backgroundcolor=\color{hellgelb}, %
    breakautoindent=true, %
    captionpos=b,%
	xleftmargin=0pt%
}
\lstdefinestyle{syntax}{backgroundcolor=\color{blue!20},numbers=none,xleftmargin=0pt,xrightmargin=0pt,
    frame=single}
%
\RequirePackage[colorlinks,linktocpage]{hyperref}
\RequirePackage{breakurl}
\def\UrlFont{\small\ttfamily}
\makeatletter
\def\verbatim@font{\small\normalfont\ttfamily}
\let\Oldpart\part
\renewcommand\part[1]{\clearpage\Oldpart{#1}}
\makeatother

%\parindent=0pt
%
%\psset{subgriddiv=0,griddots=5,gridlabels=7pt}
%
\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
\let\PSTbibliography\bibliography
\renewcommand\bibliography[1]{\begingroup\RaggedRight\PSTbibliography{#1}\endgroup}
\def\textat{\char064}
%
\usepackage{xspace}
\def\PS{PostScript\xspace}
\def\dt{\ensuremath{\,\mathrm{d}t}}

%
\def\LPack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}}
\def\nxLPack#1{\texttt{#1}}
\def\LFile#1{\texttt{#1}\index{#1@\texttt{#1}}\index{File!#1@\texttt{#1}}}
\def\nxLFile#1{\texttt{#1}}
\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}\index{Macro!#1@\texttt{\textbackslash#1}}}
\def\nxLcs#1{\texttt{\textbackslash#1}}
\def\Lenv#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Environment!#1@\texttt{#1}}}
\def\Ldim#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}\index{Dimension!#1@\texttt{\textbackslash#1}}}
\def\Lkeyword#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Keyword!#1@\texttt{#1}}}
\def\Lkeyval#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Value!#1@\texttt{#1}}}
\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package option!#1@\texttt{#1}}}
\def\LPS#1{\texttt{#1}\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}}
\def\Lps#1{\texttt{#1}\index{#1@\texttt{#1}}\index{PostScript!#1@\texttt{#1}}}
\def\Index#1{#1\index{#1}}
%
\endinput