diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples-en/32-01-9.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples-en/32-01-9.ltx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples-en/32-01-9.ltx b/Master/texmf-dist/doc/latex/pstricks-examples-en/32-01-9.ltx new file mode 100644 index 00000000000..b40298c589d --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples-en/32-01-9.ltx @@ -0,0 +1,36 @@ +%% +%% A DANTE-Edition example +%% +%% Example 32-01-9 on page 644. +%% +%% 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[]{article} +\pagestyle{empty} +\setlength\textwidth{201.70511pt} +\setlength\parindent{0pt} + +\usepackage{pst-uml} + +\begin{document} +X\_\begin{tabular}{@{}c@{}} + \begin{pspicture}(-2.75,-2)(2.75,2.75) + \rput(0,2.75){\textbf{an example}} + \rput(0,0){\umlState{empty internal state}% + {\rule{5cm}{0pt}\rule{0pt}{4cm}}} + \rput(-1,-1){\umlState{state 1}{% + content 1\\content 2}} + \rput(-1,1){\umlStateIn} + \rput(1,1){\umlStateOut} +\end{pspicture}\end{tabular}\_X +\end{document} |