diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/04-05-2.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples/04-05-2.ltx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/04-05-2.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/04-05-2.ltx new file mode 100644 index 00000000000..2fa762f97a9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples/04-05-2.ltx @@ -0,0 +1,37 @@ +%% +%% 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{214.324pt} +\setlength\parindent{0pt} +\usepackage[utf8]{inputenc} +\StartShownPreambleCommands +\usepackage{pstricks} +\StopShownPreambleCommands +\begin{document} +\begin{pspicture}[showgrid=true](0,-0.5)(8,6) +\psTextFrame[linecolor=lightgray,ref=l](0,0.5)(4,1.5){Hallo} +\psTextFrame[linecolor=blue](2,4)(4,6){\color{blue}Hallo} +\psTextFrame*[linecolor=red!40,ref=lB](7,4)(8,6){\Huge H} +\psTextFrame*[linecolor=blue!40,ref=rt](7,1)(8,3){\Huge H} +\psTextFrame[linestyle=dashed](4.5,0)(6.5,6){\parbox{2cm}{\centering + Hier kommt Text in einer \texttt{\textbackslash parbox}, der über mehrere Zeilen + geht und dennoch horizontal und vertikal zentriert erscheint.}} +\psTextFrame*[linecolor=cyan!20,rot=90](.5,2)(1.5,6){\parbox{4cm}{\centering Hier kommt + Text über mehrere Zeilen, der zudem gedreht ist.}} +\end{pspicture} +\end{document} |