blob: e53b64a5221d206bf3b603663c3ec00c68282e23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
\documentclass[11pt,a4paper,twoside]{article}
\usepackage[T1]{fontenc}
% \usepackage[applemac]{inputenc}
\usepackage[latin1]{inputenc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Format de la mise en page
\setlength{\hoffset}{-1in}
\setlength{\voffset}{-1in}
\setlength{\oddsidemargin}{2cm}
\setlength{\evensidemargin}{2cm}
\setlength{\topmargin}{1.8cm}
% \setlength{\headheight}{0cm}
% \setlength{\headsep}{0cm}
\setlength{\textwidth}{16.5cm}
\setlength{\textheight}{24.0cm}
\usepackage{pst-uml}
% pour les environnement d'exemple Latex...
\usepackage{fancyvrb}
\usepackage[pstricks]{fvrb-ex}
% option pour le package fancyverb (pour \VerbatimInput)
\fvset{%
frame=single,%
numbers=left,%
baselinestretch=0.9,%
gobble=0,% nbr de caratere de debut a ignorer
fontsize=\footnotesize%
}
% \providecommand{\showgrid}{\psgrid[subgriddiv=0, griddots=10]}
\DefineShortVerb{\|}
% \UndefineShortVerb{\|} % pour annuler
\pagestyle{headings}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Quelques commandes locales
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \printtime
%
% commande d'impression de l'heure courante
%
% Exemple : "Fichier compil\'{e} le \today{} \`{a} \printtime."
\usepackage{calc}
\usepackage{ifthen}
\newcounter{hours}\newcounter{minutes}
\newcommand{\printtime}{%
\setcounter{hours}{\time/60}%
\setcounter{minutes}{\time-\value{hours}*60}%
\thehours h%
% on veut obtenir 15h03mn et non 15h3mn...
\ifthenelse{\theminutes<10}{0}{}\theminutes mn%
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Quelques abbreviations
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Conventions g\'{e}n\'{e}rales pour les formats de pr\'{e}sentation
\newcommand{\strong}[1]{\textbf{\emph{#1}}} % plus fort que \emph
\newcommand{\tech}[1]{\textsf{#1}} % terme technique
\newcommand{\file}[1]{\texttt{#1}} % noms de fichiers et de r\'{e}pertoires
\newcommand{\menu}[1]{\fbox{#1}} % nom d'un menu/sous-menu
\newcommand{\key}[1]{\fbox{\textbf{#1}}} % touche du clavier
% abreviations locales a ce document :
\newcommand{\uml}{\textsc{uml}}
\newcommand{\pstricks}{\texttt{PSTricks}}
\newcommand{\postscript}{\texttt{PostScript}}
\newcommand{\pstuml}{\texttt{pst-uml}}
% \newcommand{\bs}{\backslash}
% \newcommand{\bs}{\backslash}
% Pour les noms de commande TeX
% Exemple : \cs{fbox} => \fbox
\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
\usepackage[colorlinks,linktocpage]{hyperref}
%\usepackage{french}
\usepackage[francais]{babel} % idem frenchb mais PAS french !
% La suite evite que Babel impose un espace devant ":" mais n'est
% pas disponible sur les vielles versions de Babel (comme à l'ENSTA).
\NoAutoSpaceBeforeFDP
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{Exemple de diagrammes utilisant \pstuml}
\author{%
Maurice \textsc{Diamantini}%
\thanks{avec l'aide précieuse de Denis \textsc{Girou}} %
(email : \texttt{diam@ensta.fr})
}
\date{%
Compilé le \today{} à \printtime{}.%
}
\maketitle
\tableofcontents
\clearpage
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\section{Exemple de diagramme de classe}
\input{diagClass.tex}
\VerbatimInput{diagClass.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\section{Exemple de diagramme des cas d'utilisation}
\input{diagCase.tex}
\VerbatimInput{diagCase.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\section{Exemple de diagramme de séquences}
\input{diagSeq.tex}
\VerbatimInput{diagSeq.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\clearpage
\section{Exemple de diagramme d'états}
\input{diagState.tex}
\VerbatimInput{diagState.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% pour connaitre le numero de la derniere page
\label{verylast}\mbox{}
\end{document}
|