summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pstricks-examples/08-01-2.ltx
blob: dc90cb6d8749f4d56493163f58b5ed69cca22878 (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
%% 
%%  Ein Beispiel der DANTE-Edition
%% 
%% 
%%  Copyright (C) 2010 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{exaarticle}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\StartShownPreambleCommands
\usepackage{pstricks,multido,tabularx,textcomp,booktabs,ragged2e}
\usepackage[utf8]{inputenc}
\def\Lkeyword#1{\texttt{\small#1}}
\def\Lkeyval#1{\texttt{\small#1}}
  \def\myline#1{\psline[linecolor=black!75]{#1}(0,1ex)(1.3,1ex)}%
  \def\mylineII#1{\psline[linecolor=black!75,linewidth=2pt]{#1}(0,1ex)(1.3,1ex)}%
  \def\cmd#1{\small\texttt{\textbackslash psline\{#1\}(1.3,0)}}
\StopShownPreambleCommands
\begin{document}
  \psset{arrowscale=2}
  \tabcolsep=4pt
  \def\arraystretch{1.35}
  \begin{tabularx}{\linewidth}{@{}cp{1.8cm}@{\kern-8pt}l>{\RaggedRight\small}X@{}}\toprule
    \emph{Wert} & \emph{Beispiel} & \emph{Code} & \emph{Erläuterung} \\[2pt]\midrule
    \Lkeyval{-}      & \myline{-}      & \cmd{-} & kein Pfeil\\
    \Lkeyval{<->}    & \myline{<->}    & \cmd{<->} & Standardpfeile\\
    \Lkeyval{>-<}    & \myline{>-<}    & \cmd{>-<} & Inverse Pfeile\\
    \Lkeyval{<\/<->\/>}  & \myline{<<->>}  & \cmd{<\/<->\/>} & Doppelpfeile\\
    \Lkeyval{>\/>-<\/<}  & \myline{>>-<<}  & \cmd{>\/>-<\/<} & Inverse Doppelpfeile\\
    \Lkeyval{<D-D>}    & \myline{<D-D>}    & \cmd{<D-D>} & B\'ezierpfeile\\
    \Lkeyval{D>-<D}    & \myline{D>-<D}    & \cmd{D>-<D} & Inverse B\'ezierpfeile\\
    \Lkeyval{<D<D-D>D>}  & \myline{<D<D-D>D>}  & \cmd{<D<D-D>D>} & Doppel-B\'ezierpfeile\\
%    \Lkeyval{D>D>-<D<D}  & \myline{D>D>-<D<D}  & \cmd{D>D>-<D<D} & Inverse Doppelpfeile\\
    \Lkeyval{|-|}    & \myline{|-|}    & \cmd{|-|}   & Bündig mit Endpunkt\\
    \Lkeyval{|*-|*}  & \myline{|*-|*}  & \cmd{|*-|*} & Zentrisch mit Endpunkt\\
    \Lkeyval{[-]}    & \myline{[-]}    & \cmd{[-]}   & Eckige Klammern\\
    \Lkeyval{]-[}    & \myline{]-[}    & \cmd{]-[}   & Inverse eckige Klammern\\
    \Lkeyval{(-)}    & \myline{(-)}    & \cmd{(-)}   & Runde Ecken\\
    \Lkeyval{)-(}    & \myline{)-(}    & \cmd{)-(}   & Inverse runde Ecken\\
    \Lkeyval{o-o}    & \myline{o-o}    & \cmd{o-o}   & Kreis, zentrisch mit Endpunkt\\
    \Lkeyval{*-*}    & \myline{*-*}    & \cmd{*-*}   & Scheibe, zentrisch mit Endpunkt\\
    \Lkeyval{oo-oo}  & \myline{oo-oo}  & \cmd{oo-oo} & Kreis, bündig mit Endpunkt\\
    \Lkeyval{**-**}  & \myline{**-**}  & \cmd{**-**} & Scheibe, bündig mit Endpunkt\\
    \Lkeyval{|<->|}  & \myline{|<->|}  & \cmd{|<->|} & Querstrich und Pfeil\\
    \Lkeyval{|>-<|}  & \myline{|>-<|}  & \cmd{|>-<|} & Querstrich und inverser Pfeil\\%\hline
    \Lkeyval{c-c}    & \mylineII{c-c}    & \cmd{c-c} & Abgerundete Enden\\
    \Lkeyval{cc-cc}    & \mylineII{cc-cc}    & \cmd{cc-cc} & Bündig mit Endpunkt\\
    \Lkeyval{C-C}    & \mylineII{C-C}    & \cmd{C-C} & Eckiger Endpunkt
\end{tabularx}

\smallskip
\begin{tabular}{@{} c p{1.5cm} c c p{1.5cm} l @{}}
\multicolumn{6}{c}{Beispiele für gemischte Kombinationen}\\\toprule
    \Lkeyval{->}    & \myline{->}    & \cmd{->} &
    \Lkeyval{>-}    & \myline{>-}    & \cmd{>-}\\
    \Lkeyval{<\/<-|}  & \myline{<<-|}  & \cmd{<<-|} &
    \Lkeyval{[-<\/<}  & \myline{[-<<}  & \cmd{[-<<}\\
    \Lkeyval{]-|}    & \myline{]-|}    & \cmd{]-|} &
    \Lkeyval{[->}    & \myline{[->}    & \cmd{[->}\\
    \Lkeyval{]-o}    & \myline{]-o}    & \cmd{]-o} &
    \Lkeyval{*-D>D>}    & \myline{*-D>D>}    & \cmd{*-D>D>}\\\bottomrule
  \end{tabular}
\end{document}