Revision 1804 trunk/docs/uml/big-admb-component.tex

big-admb-component.tex (revision 1804)
10 10
\usepackage[pdftex]{pict2e}
11 11
%\usepackage{calc}
12 12
\usepackage[nomessages]{fp} % for computing positions in picture boxes
13
%\usepackage[pdftex]{hyperref}
13
\usepackage[pdftex]{hyperref}
14 14
\usepackage{color}
15 15
\listfiles
16 16

  
17

  
18
\hypersetup{pdfauthor={John Sibert}}
19
\hypersetup{pdfsubject={ADMB  Project}}
20
\hypersetup{pdftitle={ADMB Component Diagram}}
21

  
22

  
23

  
17 24
\newcommand\includes{{\tt \#include}s}
18 25

  
19

  
20
% 1. height of callout dot
26
% this version of the callout macro operates differently the original
27
% all (x,y) positions are relative to the outer ("global") box
28
% 1. height (y position) of callout dot
21 29
% 2,3 coordinates of Bezier control point
22 30
% 4 height of middle of oval
23 31
% 5 text to be displayed 
......
45 53
\noindent
46 54
textwidth = \the\textwidth , textheigth = \the\textheight\\
47 55
paperwitdth = \the\paperwidth\\ % , papersize = \the\papersize \\
48
%\setlength{\unitlength}{0.01\textwidth}
49 56
\setlength{\unitlength}{0.01\textwidth}
50 57
unitlength = \the\unitlength\\
51 58
\FPeval{\globY}{\number\textheight / \number\unitlength}\\
......
135 142
     }} % main() box
136 143
     \end{picture}}
137 144
     %%%
138
    \callout{129}{52}{129}{125}{GLOBALS\_SECTION\\ User \includes\\ User methods}{2}
139
    \callout{113}{52}{113}{111}{TOP\_OF\_MAIN\_SECTION\\~ \\User-specified buffer sizes}{3}
140
    \callout{95}{52}{95}{97}{Process certain\\ user-specified\\ commmand-line options}{6}
141
    {\color{blue}\thicklines%
142
    \callout{76}{52}{76}{83}{Allocate variables\\ defined in\\DATA\_SECTION}{5}}% blue
143

  
144
    \callout{71}{52}{71}{69}{Execute user code in\\ INITIALIZATION\_\\ SECTION}{4}
145

  
146
    {\color{blue}\thicklines%
147
    \callout{69}{52}{69}{55}{Alllocate parameters in\\ \\ PARAMETER\_SECTION}{3}}% blue
148
    \callout{57}{52}{57}{41}{Execute user code in\\PRELIMINARY\_CALCS\_\\ SECTION}{1}
149

  
145
\callout{129}{52}{129}{125}{GLOBALS\_SECTION\\ User \includes\\ User methods}{2}
146
\callout{113}{52}{113}{111}{TOP\_OF\_MAIN\_SECTION\\~\\~\\User-specified buffer sizes}{3}
147
\callout{95}{52}{95}{97}{Process certain\\ user-specified\\ commmand-line options}{6}
148
{\color{blue}\thicklines%
149
\callout{76}{52}{76}{83}{Allocate variables\\ defined in\\DATA\_SECTION}{5}}% blue
150
\callout{71}{52}{71}{69}{Execute user code in\\ INITIALIZATION\_\\ SECTION}{4}
151
{\color{blue}\thicklines%
152
\callout{69}{52}{69}{55}{Alllocate parameters in\\~\\~\\PARAMETER\_SECTION}{3}}% blue
153
\callout{57}{52}{57}{41}{Execute user code in\\PRELIMINARY\_CALCS\_\\ SECTION}{1}
150 154
\end{picture}
151 155

  
152 156
%Text after figure.

Also available in: Unified diff