summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_7_de/22-01-5.ltx
blob: 0e033c1ac28e5a12a2274570d09032d041a167ab (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
%% 
%%  Ein Beispiel der DANTE-Edition
%%  
%%  7. Auflage
%% 
%%  Beispiel 22-01-5 auf Seite 360.
%% 
%%  Copyright (C) 2016 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{193.16928pt}
\setlength\parindent{0pt}
%StartShownPreambleCommands
\usepackage{pst-3d,pstricks-add,textcomp}
%StopShownPreambleCommands
\begin{document}
\def\CMD#1{\texttt{\textbackslash#1}}
\begin{pspicture}(0,-0.5)(9,3)
\psline[linestyle=dashed](0,2)(9,2)
\psaxes[yAxis=false,tickstyle=bottom](9,0.01)
\def\Bar{\psframe*[linecolor=lightgray](0,0)(0.5,2)}
%
\rput(0.5,0){\Bar}
\psset{arrowscale=2,linewidth=0.1pt,tbarsize=2mm}
\psline{|<->|}(0.25,0)(0.25,2)\rput*{90}(0.25,1){\small 2cm}
%
\rput(2,0){\psTilt{30}{\Bar}}
\psarc{->}(2.2,0){2}{0}{26}\rput(4.5,0.5){30\textdegree}
\pnode(2,0.3){A}\pnode(5.3,2.25){B}
\ncline{|<->|}{A}{B}\ncput*[nrot=:U]{\small 4cm}
%
\rput(6,0){\pstilt{30}{\Bar}}
\psarc{->}(6.2,0){2}{0}{26}\rput(8.5,0.5){30\textdegree}
\pnode(6,0.3){A}\pnode(7.65,1.25){B}
\ncline{|<->|}{A}{B}\ncput*[nrot=:U]{\small 2cm}
%
\uput[90](0.5,2.3){\CMD{Bar}}
\uput[90](3.75,2.3){\CMD{psTilt\{30\}\{\textbackslash Bar\}}}
\uput[90](7.25,2.3){\CMD{pstilt\{30\}\{\textbackslash Bar\}}}
\end{pspicture}
\end{document}