diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pstricks-examples/32-02-11.ltx')
-rw-r--r-- | Master/texmf-dist/doc/latex/pstricks-examples/32-02-11.ltx | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pstricks-examples/32-02-11.ltx b/Master/texmf-dist/doc/latex/pstricks-examples/32-02-11.ltx new file mode 100644 index 00000000000..ba8a1f6a480 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pstricks-examples/32-02-11.ltx @@ -0,0 +1,39 @@ +%% +%% 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{352.81416pt} +\setlength\parindent{0pt} +\StartShownPreambleCommands +\usepackage{uml} +\StopShownPreambleCommands +\begin{document} +\umlPackage[box=,subof=subof,stereotype=stereo,importedFrom=importedFrom, + comment=Kommentar]{Package}{% + \umlDiagram[sizeX=7cm,sizeY=4cm,box=,ref=pack]{% + \umlClass[pos=\umlBottomLeft{pack},posDelta={2ex,2ex},refpoint=bl]{Buch}{}{} + \umlClass[pos=\umlTopLeft{pack},posDelta={2ex,-2ex},refpoint=tl]{Haus}{}{} + \umlClass[pos=\umlTopRight{pack},posDelta={-2ex,-2ex},refpoint=tr]{Person}{}{} + \umlClass[pos=\umlBottomRight{pack},posDelta={-2ex,2ex},refpoint=br]{Autor}{}{} + \umlAssociation{Buch}{Haus} \umlLabelB[refpoint=l]{BuchHaus}{ist in} + \umlAssociation{Buch}{Person}\umlLabelA{BuchPerson}{liest} + \umlSubclass{Autor}{Person} \umlAssociation{Buch}{Autor} + \umlLabelA[height=.5ex,refpoint=lb]{BuchAutor}{geschrieben} + \umlAssociation{Haus}{Person}\umlLabelA{HausPerson}{lebt in} + }% Ende von \umlDiagram +}% Ende von \umlPackage +\end{document} |