summaryrefslogtreecommitdiff
path: root/info/examples/PSTricks_en/32-01-9.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/PSTricks_en/32-01-9.ltx')
-rw-r--r--info/examples/PSTricks_en/32-01-9.ltx36
1 files changed, 36 insertions, 0 deletions
diff --git a/info/examples/PSTricks_en/32-01-9.ltx b/info/examples/PSTricks_en/32-01-9.ltx
new file mode 100644
index 0000000000..b40298c589
--- /dev/null
+++ b/info/examples/PSTricks_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}