%% 
%%  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}
