summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-labo/pst-labo-docEN.ltx
blob: 145a0f75fd69e891f4912181e742b11f95b99961 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
\documentclass[11pt,a4paper,english]{article}
\usepackage[latin1]{inputenc}%
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{lmodern}
\usepackage{enumerate,longtable,url}
\let\OldUrl=\url
\renewcommand\url[1]{\protect\OldUrl{#1}}

\usepackage[scaled]{luximono}
%
\usepackage{xspace,nonfloat}
\usepackage[bottom]{footmisc}
%
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{ltxtable}
\usepackage{varioref}
\usepackage[NewCommands,NewParameters]{ragged2e}
\usepackage{url}
\def\UrlFont{\ttfamily}
\makeatletter
%\def\verbatim@font{\small\normalfont\ttfamily}
%
\usepackage[dvipsnames,prologue,table]{pstricks}
\colorlet{tableheadcolor}{gray!25}
\colorlet{tablerowcolor}{gray!12}
\newcommand\XCBox[1]{\fcolorbox{black}{#1}{\phantom{aa}} \small #1}
\usepackage{pst-labo}
\let\PSTfileversion\fileversion
\SpecialCoor
\psset{griddots=10,subgriddiv=0,gridlabels=7pt}
%
\definecolor{hellgelb}{rgb}{1,1,0.8}
\definecolor{shadecolor}{rgb}{0.9,0.9,0.9}
\definecolor{sphgrau}{rgb}{0.40,0.40,0.40}
%
% ------------------------------- Namen Abkuerungen ----------------------
\newcommand{\La}%
   {L\kern-.36em
        {\setbox0\hbox{T}%
         \vbox to\ht0{\hbox{$\m@th$%
                \csname S@\f@size\endcsname
                \fontsize\sf@size\z@
                \math@fontsfalse\selectfont
                A}%
            \vss}%
        }}
\def\AllTeX{(\La\kern-.075em)\kern-.075em\TeX\xspace}
\def\AMS{American Mathematical Society\xspace}
\def\AmS{$\mathcal{A}$\kern-.1667em\lower.5ex\hbox
    {$\mathcal{M}$}\kern-.125em$\mathcal{S}$}
\def\AmSLaTeX{\AmS-\LaTeX\xspace}
\let\latex\LaTeX
\let\tex\TeX
%
\def\BibTeX{\textsc{Bib}\kern-.08em\TeX\index{BiBTeX@Bib\TeX}}
\def\PT{Plain \TeX\index{Plain TeX@Plain \TeX}\xspace}
\def\PST{{\texttt{PSTricks}}\xspace}
\def\CTAN{{\texttt{CTAN}}\index{CTAN}\xspace}
\def\PDF{{\texttt{PDF}}\xspace}
\def\pst{{\texttt{pstricks}}\xspace}
\def\PS{PostScript\xspace}
\def\CT{Con\TeX t\index{ConTeXt@Con\TeX t}\xspace}
\def\GS{Ghostscript\index{Ghostscript}\xspace}
\def\GeX{G\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@}
\def\at{\char064}
\def\VTeX{\texttt{V\TeX}\index{VTeX@\texttt{V\protect\TeX}}}
\newcommand*\CMD[1]{{\texttt{\textbackslash #1}}}
\newcommand\Paket[1]{\texttt{#1}}
\providecommand\Programm[1]{\textsf{#1}}
\providecommand\RaggedRight{\raggedright}
%
\def\Index#1{\index{#1}#1}
\index{Environment|see{Umgebung}}
\def\eIndex#1{\index{Umgebung!#1@\texttt{#1}}\index{#1@\texttt{#1}}}
\def\tIndex#1{\index{#1@\texttt{#1}}}
\def\cIndex#1{\index{#1@\protect\CMD{#1}}}
\def\pIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}\index{#1@\texttt{#1}}}
\def\ppIndex#1{\index{Parameter@\textbf{Parameter}!#1@\texttt{#1}}}
\def\sIndex#1{\index{Syntax@\textbf{Syntax}!\protect\CMD{#1}}}
\def\csIndex#1{\sIndex{#1}\cIndex{#1}}
\def\PIndex#1{\index{Paket@\textbf{Paket}!\texttt{#1}}}
\def\mIndex#1{\texttt{#1}\tIndex{#1}\pIndex{#1}}
\def\aref#1{$\rightarrow$\vref{#1}}
\def\PSindex#1{\index{PostScript!#1}}
\def\Makroindex#1{\index{Makro!#1@\protect\CMD{#1}}}
\def\Optindex#1{\index{Parameter@\textbf{Parameter}!\texttt{#1}}}
\def\ttindex#1{\index{#1@\texttt{#1}}}
\def\vert{\ensuremath{|}}
%
\let\Olddegrees\textdegrees
\def\textdegrees{\ensuremath{\mbox{\Olddegrees}}}
\def\sa{\ensuremath{\sphericalangle}\xspace}% needs amssymb
%
%
%%-------------------------------- danger ---------------------------------------------
\usepackage{manfnt}
\usepackage{lettrine}
\newsavebox{\dBox}

\newenvironment{dangerPar*}
{\gdef\dangerSym{\dbend\,\dbend}\@dangerPar}
{\end@dangerPar}

\newenvironment{dangerPar}
{\gdef\dangerSym{\dbend\phantom{\,\dbend}}\@dangerPar}
{\end@dangerPar}

\def\@dangerPar{%
  \begin{lrbox}{\dBox}
    \minipage[c]{\linewidth-\widthof{\dangerSym}-\columnsep}%
}
\def\end@dangerPar{%
    \endminipage
  \end{lrbox}%
  \trivlist\item\relax
    \noindent
    \minipage[c]{\widthof{\dangerSym}}
      \raisebox{\height}[.9\height][.1\height]{\dangerSym}% ???
    \endminipage
    \hfill
    \minipage[c]{\wd\dBox}
      \usebox{\dBox}
    \endminipage%
  \endtrivlist
}
\newsavebox{\bombbox}
\sbox\bombbox{%
  \psset{unit=.55ex}%
  \begin{pspicture}(-4,-4)(4,4)
    \pscircle[fillcolor=gray,fillstyle=solid]{4}
    \rput{45}{\psscaleboxto(6,0){\textsf{\textbf{PS}}}}
    \psellipse*(0,3.8)(1,.2)
    \psellipse*(0,5.5)(1,.2)
    \psframe*(-1,3.8)(1,5.5)
    \psbezier(0,5.5)(0,7)(1,8)(3.5,8)
    \multido{\r=-0+40}{9}{\rput{\r}(3.5,8){\psline(0,0)(.4,0)}}
  \end{pspicture}}

\newcommand\danger{%
  \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{{\small\dbend}}}
  
\newcommand\ddanger{%
  \lettrine[lines=2,lraise=0.65,nindent=0pt,findent=.5em]{%
    {\small\dbend\,\dbend}}}
    
\newcommand\DANGER{%    
  \lettrine[lines=3,lraise=0.01,lhang=0,nindent=0pt,findent=.75em]{%
    \usebox\bombbox}}
%%------------------------------- Rest ------------------------------------------
\pretolerance=500
\tolerance=1000 
\hbadness=3000
\vbadness=3000
\hyphenpenalty=400

%-------------------------------- Listings -------------------------------------
\usepackage{showexpl}% not a real PSTricks package
%
\renewcommand{\ttdefault}{ul9}% Luxi Mono
%\lstset{language=PSTricks,keywordstyle=\small\fontfamily{ul9}\bfseries} 
\lstset{wide=true} 
%
%-------------------------------- Allgemein -------------------------------------
%\addtolength\belowcaptionskip{-10pt}
%
\providecommand\dante{DANTE \eV}
\providecommand\eV{e.V\kern-.18em\@ifnextchar.{}{.}}
\def\textat{\protect\makeatletter\texttt{@}\protect\makeatother}

\def\lBrace{\texttt{\{}}
\def\rBrace{\texttt{\}}}
\def\lBracket{\texttt{[}}
\def\rBracket{\texttt{]}}
%
\newcounter{SX@refC}% for texlive8
\def\PSTemph#1{\textit{\texttt{#1}}}
%
\def\LPack#1{\texttt{#1}}
\def\Lmenv#1{\texttt{#1}}
\def\Lmcs#1{\CMD{#1}\Makroindex{#1}\cIndex{#1}}
\let\xLcs\Lmcs
\let\Lcs\CMD
\let\Lit\texttt
\def\Loption#1{\texttt{#1}\Optindex{#1}\ttindex{#1}}
\def\LProg#1{\texttt{#1}\pIndex{#1}}
\let\Prog\LProg
\def\LFile#1{\texttt{#1}\tIndex{#1}}
\def\LColor#1{\texttt{#1}\index{Farbe!#1@\texttt{#1}}}
\def\Lindex#1{#1\index{#1}}% Ausgeben und in den Index
\def\Lext#1{\texttt{#1}\index{Dateiendung!#1@\texttt{#1}}}
\def\LClass#1{\texttt{#1}}
\def\Lmnotation#1{\texttt{#1}\tIndex{#1}}
\newcommand\Larga{}
\DeclareRobustCommand\Larga[1]{$\langle$\PSTemph{#1}$\rangle$}
\newcommand\LargA{}
\DeclareRobustCommand\LargA[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace}
\newcommand\Largs{}
\DeclareRobustCommand\Largs[1]{\lBracket$\langle$\PSTemph{#1}$\rangle$\rBracket}
\newcommand\Largb{}
\DeclareRobustCommand\Largb[1]{\lBrace$\langle$\PSTemph{#1}$\rangle$\rBrace}
\newcommand\Largr{}
\DeclareRobustCommand\Largr[1]{\PSTemph{({#1})}}
\DeclareRobustCommand\Largra[1]{(\Larga{#1})}
\newcommand\Larg{}
\DeclareRobustCommand\Larg[1]{\lBrace\texttt{#1}\rBrace}
\def\begEnv#1{\CMD{begin\{#1\}}\tIndex{#1}}
\def\endEnv#1{\CMD{end\{#1\}}}
\def\OptArg{\Largs{Optionen}}
\def\Largrao{($\langle x_0,y_0\rangle$)}
\def\Largrai{($\langle x_1,y_1\rangle$)}
\def\Largraii{($\langle x_2,y_2\rangle$)}
\def\Largraiii{($\langle x_3,y_3\rangle$)}
\def\Largran{($\langle x_n,y_n\rangle$)}
%
\input random
\def\cite#1{}
%
\begin{document}

\input{pst-labo-docEN}

\end{document}