From 2a886fbce3b9f2ed32e02e952d4b300e6e3dd7b4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 24 Feb 2011 23:36:18 +0000 Subject: new german doc pstricks examples (23feb11) git-svn-id: svn://tug.org/texlive/trunk@21511 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/pstricks-examples/23-01-5.ltx | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/pstricks-examples/23-01-5.ltx (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/23-01-5.ltx') diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/23-01-5.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/23-01-5.ltx new file mode 100644 index 00000000000..916eea279c2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples/23-01-5.ltx @@ -0,0 +1,49 @@ +%% +%% 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{190.324pt} +\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} -- cgit v1.2.3