diff options
author | Karl Berry <karl@freefriends.org> | 2007-08-15 18:46:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-08-15 18:46:08 +0000 |
commit | b129936adac7b9712df9a011becb010d111ec61f (patch) | |
tree | f3eb76c81457520915a2fa06dcf0f36c2e0c08ba /Master/texmf-dist/doc/latex | |
parent | a3e65cf58603aec6b27742b833f880c0f3372020 (diff) |
new package upmethodology (12aug07)
git-svn-id: svn://tug.org/texlive/trunk@4732 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
15 files changed, 1086 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/upmethodology/AUTHORS b/Master/texmf-dist/doc/latex/upmethodology/AUTHORS new file mode 100644 index 00000000000..39ce9b53272 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/AUTHORS @@ -0,0 +1,2 @@ +Stéphane GALLAND <galland@arakhne.org> + diff --git a/Master/texmf-dist/doc/latex/upmethodology/COPYING b/Master/texmf-dist/doc/latex/upmethodology/COPYING new file mode 100644 index 00000000000..fc8a5de7edf --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/COPYING @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/Master/texmf-dist/doc/latex/upmethodology/Changelog b/Master/texmf-dist/doc/latex/upmethodology/Changelog new file mode 100644 index 00000000000..a79cf80bbb8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/Changelog @@ -0,0 +1,19 @@ +2007-08-12 Stéphane GALLAND <galland@arakhne.org> + * Split the sources to extract the extentions + inside another tarball. + +2007-07-07 Stéphane GALLAND <galland@arakhne.org> + * Provide commands to change the bibliography style + +2007-07-06 Stéphane GALLAND <galland@arakhne.org> + * Bug fix: use varioref for the footnote references. + +2007-07-05 Stéphane GALLAND <galland@arakhne.org> + * Add people name formatting function. + +2007-07-04 Stéphane GALLAND <galland@arakhne.org> + * Bug fix: front page layout + +2007-07-03 Stéphane GALLAND <galland@arakhne.org> + * First public release + diff --git a/Master/texmf-dist/doc/latex/upmethodology/INSTALL b/Master/texmf-dist/doc/latex/upmethodology/INSTALL new file mode 100644 index 00000000000..e395ebbcbcc --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/INSTALL @@ -0,0 +1 @@ +File not used. diff --git a/Master/texmf-dist/doc/latex/upmethodology/NEWS b/Master/texmf-dist/doc/latex/upmethodology/NEWS new file mode 100644 index 00000000000..2d8c65b2b6c --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/NEWS @@ -0,0 +1,2 @@ +File not used. +See Changelog instead. diff --git a/Master/texmf-dist/doc/latex/upmethodology/README b/Master/texmf-dist/doc/latex/upmethodology/README new file mode 100644 index 00000000000..7c27fb425cd --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/README @@ -0,0 +1,30 @@ +------------------- +UPMETHODOLOGY +------------------- + +upmethodology is a (La)TeX style which permits to create Unified Process methodology (UP or RUP) based documents (document version, history, authors, validators, specification, task management, helping tools...). + +------------------- +INSTALL +------------------- + +1) Copy the content of the directory inside one of your texmf directory (us +ually /usr/share/texmf/tex/latex/upmethodology or $HOME/.texmf) + +2) Update the LaTeX databases: + $> mktexlsr + $> update-updmap --quiet + +------------------- +AUTHOR +------------------- + +Stéphane GALLAND <galland@arakhne.org> + +------------------- +LICENSE +------------------- + +GNU LESSER GENERAL PUBLIC LICENSE (see COPYING) + + diff --git a/Master/texmf-dist/doc/latex/upmethodology/TODO b/Master/texmf-dist/doc/latex/upmethodology/TODO new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/TODO @@ -0,0 +1 @@ + diff --git a/Master/texmf-dist/doc/latex/upmethodology/VERSION b/Master/texmf-dist/doc/latex/upmethodology/VERSION new file mode 100644 index 00000000000..36cb3108b24 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/VERSION @@ -0,0 +1 @@ +upmethodology-20070812 diff --git a/Master/texmf-dist/doc/latex/upmethodology/frontclassic.jpg b/Master/texmf-dist/doc/latex/upmethodology/frontclassic.jpg Binary files differnew file mode 100644 index 00000000000..74ef480cc1a --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/frontclassic.jpg diff --git a/Master/texmf-dist/doc/latex/upmethodology/frontmodern.jpg b/Master/texmf-dist/doc/latex/upmethodology/frontmodern.jpg Binary files differnew file mode 100644 index 00000000000..281b97c4573 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/frontmodern.jpg diff --git a/Master/texmf-dist/doc/latex/upmethodology/illustration.jpg b/Master/texmf-dist/doc/latex/upmethodology/illustration.jpg Binary files differnew file mode 100644 index 00000000000..d2fcd644eb5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/illustration.jpg diff --git a/Master/texmf-dist/doc/latex/upmethodology/logo.jpg b/Master/texmf-dist/doc/latex/upmethodology/logo.jpg Binary files differnew file mode 100644 index 00000000000..896e75bfd8c --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/logo.jpg diff --git a/Master/texmf-dist/doc/latex/upmethodology/smalllogo.jpg b/Master/texmf-dist/doc/latex/upmethodology/smalllogo.jpg Binary files differnew file mode 100644 index 00000000000..ec992154187 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/smalllogo.jpg diff --git a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf Binary files differnew file mode 100644 index 00000000000..013ef3d3712 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf diff --git a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex new file mode 100644 index 00000000000..49377bd8367 --- /dev/null +++ b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex @@ -0,0 +1,865 @@ +\documentclass[oneside]{upmethodology-document} + +\usepackage{upmethodology-task} +\usepackage{upmethodology-code} +\usepackage{upmethodology-spec} + +%\setfrontlayout{modern} + +\declaredocument{\LaTeX\ Packages for the Unified Process Methodology}{Official Documentation}{UPM-2007-01} + +\initialversion[1.0]{\makedate{11}{04}{2006}}{First release of this example}{\upmpublic} +\incversion{\makedate{19}{04}{2006}}{Add the mtabular and mtable environments}{\upmpublic} +\incversion{\makedate{27}{04}{2006}}{Add the package upmethodology-code}{\upmpublic} +\incversion{\makedate{13}{04}{2007}}{Update the upmethodology-fmt package\newline Adding commands for informed people}{\upmpublic} +\incversion{\makedate{02}{07}{2007}}{Update the upmethodology-fmt package\newline Adding symbols and text formatting functions\newline Updating footnote functions}{\upmpublic} +\incversion{\makedate{04}{07}{2007}}{Add front page selection macro}{\upmpublic} +\incversion{\makedate{07}{07}{2007}}{Add bibliography format macros}{\upmpublic} + +\addauthorvalidator[galland@arakhne.org]{St{\'e}phane}{Galland} + +\makeatletter +\let\VERversion\upm@package@version@ver +\let\VERfmt\upm@package@fmt@ver +\let\VERdoc\upm@package@doc@ver +\let\VERfp\upm@package@fp@ver +\let\VERtask\upm@package@task@ver +\let\VERdocclazz\upm@package@docclazz@ver +\let\VERcode\upm@package@code@ver +\makeatother + +\begin{document} + +\tableofcontents + +\listoffigures + +\listoftables + +%########################################################### + +\chapter{Introduction} + +This set of package permits to write documents according to the Unifess Process Methodology. It was initially wittren by St\'ephane \textsc{Galland} from the Systems and Transport laboratory\footnote{University of Technology of Belfort-Montb{\'e}liard, France, \href{http://set.utbm.fr/}{http://set.utbm.fr/}}. + +The packages are: +\begin{itemize} +\item \texttt{upmethodology-version.sty}: permits to set the version and the status of the document. It also permits to manage the document history; +\item \texttt{upmethodology-fmt.sty}: provides some usefull functions to format the UP documents; +\item \texttt{upmethodology-document.sty}: provides functions to manage the project, the subproject and the status of the document; +\item \texttt{upmethodology-frontpage.sty}: formats and provides a front page for the document; +\item \texttt{upmethodology-task.sty}: is the \LaTeXe\xspace package that provides commands to manage project's tasks. +\item \texttt{upmethodology-document.cls}: is the \LaTeXe\xspace class that provides the whole document specification. It is based on \texttt{book} and on the previous packages; +\item \texttt{upmethodology-code.sty}: provides macros for source code formatting. +\end{itemize} + + +%########################################################### + +\chapter{Package upmethodology-version} + +\begin{center} + \texttt{Version: \VERversion} +\end{center} + +The package \texttt{upmethodology-version} permits to set the version and the status of the document. It also provides functions to manage the document history; + +\section{Constants for the Document Status} + +Some \LaTeXe\xspace variables provides strings that describe the status of the document. They can be used in functions such as \texttt{{\textbackslash}updateversion}. +\begin{itemize} +\item \texttt{{\textbackslash}upmrestricted}: the document is under a restricted access, generally corresponding to the list of authors; +\item \texttt{{\textbackslash}upmvalidable}: authors indicates with this tathat the document could be sent to validators; +\item \texttt{{\textbackslash}upmvalidated}: the document was validated, but not published and published by all people; +\item \texttt{{\textbackslash}upmpublic}: the document published and accessible by all people; +\end{itemize} + +\subsection{Information about the Document} + +The following functions permit to access to the informations about the document: +\begin{itemize} +\item \texttt{{\textbackslash}theupmversion}: replies the last version number for the document; + +\item \texttt{{\textbackslash}upmdate\{version\}}: replies the updating date of the document corresponding to the given version number; + +\item \texttt{{\textbackslash}upmdescription\{version\}}: replies the updating comment of the document corresponding to the given version number; + +\item \texttt{{\textbackslash}upmstatus\{version\}}: replies the status of the document corresponding to the given version number. + +\item \texttt{{\textbackslash}theupmdate}: replies the last updating date for the document. It is equivalent to \texttt{{\textbackslash}upmdate\{{\textbackslash}theupmversion\}}; + +\item \texttt{{\textbackslash}theupmlastmodif}: replies the last updating comment for the document. It is equivalent to \texttt{{\textbackslash}upmdescription\{{\textbackslash}theupmversion\}}; + +\item \texttt{{\textbackslash}theupmstatus}: replies the last status for the document. It is equivalent to \texttt{{\textbackslash}upmstatus\{{\textbackslash}theupmversion\}}; +\end{itemize} + +\section{Register Revisions} + +The package \texttt{upmethodology-version} permits to register revisions for building an history. The available functions are: +\begin{itemize} +\item \texttt{{\textbackslash}updateversion\{version\}\{date\}\{description\}\{status\}}: registers an revision for the document. The revision indicates that the given version was produced at the given date. A small description of the changes and the resulting document's status must be also provided. The function \texttt{{\textbackslash}updateversion} is a generalization of the following functions; + +\item \texttt{{\textbackslash}initialversion[version]\{date\}\{description\}\{status\}}: registers the initial version of the document. If not given, the version is assumed to be \texttt{0.1}; + +\item \texttt{{\textbackslash}incversion\{date\}\{description\}\{status\}}: regiters a revision corresponding to the next major version. For example, if the version number was \texttt{2.67} before \texttt{{\textbackslash}incversion}, this function add the version \texttt{3.67} with the given informations (incrementation of the major part of the version number); + +\item \texttt{{\textbackslash}incsubversion\{date\}\{description\}\{status\}}: regiters a revision corresponding to the next minor version. For example, if the version number was \texttt{2.67} before \texttt{{\textbackslash}incsubversion}, this function add the version \texttt{2.68} with the given informations (incrementation of the minor part of the version number); +\end{itemize} + +\section{Formatted List of Versions} + +To obtain a formatted list of versions, you could use the command \texttt{{\textbackslash}upmhistory[width]} which produces: + +\upmhistory + +\section{Localization} + +The following commands defines some localized strings used by \texttt{upmethodology-version}: +\begin{itemize} +\item \texttt{{\textbackslash}upm@lang@date}: Date; +\item \texttt{{\textbackslash}upm@lang@updates}: Updates; +\item \texttt{{\textbackslash}upm@lang@version}: Version; +\item \texttt{{\textbackslash}upm@lang@version@history}: Version History; +\end{itemize} + +%########################################################### + +\chapter{Package upmethodology-fmt} + +\begin{center} + \texttt{Version: \VERfmt} +\end{center} + +The package \texttt{upmethodology-fmt} provides some usefull facilities to format an UP document. + +\section{Figures} + +You could include afigure inside your document with the following commands: \\ +\texttt{{\textbackslash}mfigure[position]\{options\}\{filename\}\{caption\}\{label\}} \\ +\texttt{{\textbackslash}mfigure*[position]\{options\}\{filename\}\{caption\}\{label\}} \\ + +These two commands permits to include an image in your document.The parameters are: +\begin{itemize} +\item \texttt{position}: is the desired position of the figure (see {\textbackslash}begin{figure}[position]). It could be \texttt{t} (top of the page), \texttt{b} (bottom of the page), \texttt{h} (at the command location if possible) or \texttt{H} (at command location); + +\item \texttt{options}: are the options passed to \texttt{{\textbackslash}includegraphics}; + +\item \texttt{filename}: is the filename passed to \texttt{{\textbackslash}includegraphics}; + +\item \texttt{caption}: is the caption of the figure (see {\textbackslash}caption\{caption\}); + +\item \texttt{label}: is the label used to reference the figure (see {\textbackslash}label\{fig:label\}). +\end{itemize} + +The difference between \texttt{{\textbackslash}mfigure} and \texttt{{\textbackslash}mfigure*} is the same as the difference between \texttt{{\textbackslash}begin\{figure\}} and \texttt{{\textbackslash}begin\{figure*\}}: the star-version fits to the entire paper width event if the document has two or more columns. + +Because the two commands abose register a label with string starting with \texttt{fig:}, we propose the following function to easily access to the figure's references: +\begin{itemize} +\item \texttt{{\textbackslash}figref\{label\}}: is equivalent to \texttt{{\textbackslash}ref\{fig:label\}}; +\item \texttt{{\textbackslash}figpageref\{label\}}: is equivalent to \texttt{{\textbackslash}pageref\{fig:label\}}. +\end{itemize} + +The figure~\figref{example:mfigure} page~\figpageref{example:mfigure} is obtained with the command: \texttt{{\textbackslash}mfigure[ht]\{width=.6{\textbackslash}linewidth\}\{slogo\}\{Example of figure inclusion with {\textbackslash}texttt\{\{{\textbackslash}textbackslash\}mfigure\}\}\{example:mfigure\}}. The reference and page reference are obtained with \texttt{{\textbackslash}figref\{example:mfigure\}} and \texttt{{\textbackslash}figpageref\{example:mfigure\}}. + +\mfigure[ht]{width=.6\linewidth}{logo}{Example of figure inclusion with \texttt{{\textbackslash}mfigure}}{example:mfigure} + +\section{Sub-figures} + +In some case, it is usefull to put several images inside the same picture, but without lousing the possibility to reference each subfigure. This feature was proposed by the package \texttt{subfigure}. The following environments provides helper functions for \texttt{subfigure}: +\texttt{{\textbackslash}begin\{mfigures\}[position]\{caption\}\{label\}\\ +...\\ +{\textbackslash}end\{mfigures\}} \\ +\texttt{{\textbackslash}begin\{mfigures*\}[position]\{caption\}\{label\}\\ +...\\ +{\textbackslash}end\{mfigures*\}} \\ + +These two commands permits to include an image in your document.The parameters are: +\begin{itemize} +\item \texttt{position}: is the desired position of the figure (see {\textbackslash}begin{figure}[position]). It could be \texttt{t} (top of the page), \texttt{b} (bottom of the page), \texttt{h} (at the command location if possible) or \texttt{H} (at command location); + +\item \texttt{caption}: is the caption of the figure (see {\textbackslash}caption\{caption\}); + +\item \texttt{label}: is the label used to reference the figure (see {\textbackslash}label\{fig:label\}). +\end{itemize} + +Inside the environment \texttt{{\textbackslash}mfigures[*]}, you could use the command \texttt{{\textbackslash}mfigure} to properly include a subfigure (the first optional parameter is ignored) or you could use the command \texttt{{\textbackslash}msubfigure\{options\}\{file\}\{caption\}}. + +The figure~\figref{example:msubfigure} page~\figpageref{example:msubfigure} is obtained with the environment:\\ +\texttt{{\textbackslash}begin\{mfigures\}\{Example of subfigures with {\textbackslash}texttt\{mfigures\}\}\{example:msubfigure\}}\\ +\texttt{{\textbackslash}mfigure\{width=.4{\textbackslash}linewidth\}\{logo\}\{First subfigure\}\{example:firstsubfigure\}} \\ +\texttt{{\textbackslash}hfill} \\ +\texttt{{\textbackslash}msubfigure\{width=.4{\textbackslash}linewidth\}\{smalllogo\}\{Second subfigure\}} \\ +\texttt{{\textbackslash}end\{mfigures\}} + +The reference and page reference are obtained with \texttt{{\textbackslash}figref\{example:msubfigure\}} and \texttt{{\textbackslash}figpageref\{example:msubfigure\}}. + +\begin{mfigures}{Example of subfigures with \texttt{mfigures}}{example:msubfigure} + \mfigure{width=.4\linewidth}{logo}{First subfigure}{example:firstsubfigure} + \hfill + \msubfigure{width=.4\linewidth}{smalllogo}{Second subfigure} +\end{mfigures} + +The references to the subfigures could be obtained in two way:\nopagebreak\begin{itemize} +\item using the label given as the last parameter of \texttt{{\textbackslash}mfigure}, eg. the label \texttt{example:firstsubfigure} corresponds to \figref{example:firstsubfigure}; +\item using the label of the enclosing figure to which the index of the subfigure could be appended (in its roman representation and prefixed by the character ``\texttt{:}''), eg. the label \texttt{example:msubfigure:b} corresponds to \figref{example:msubfigure:b}; +\end{itemize} + +\section{Figures with embedded \TeX\xspace commands} + +In several case it is usefull to include \TeX\xspace commands inside a figure. It is possible with the files \texttt{.pstex} exporting from a software such as \texttt{xfig}. + +To put a \TeX\xspace command inside your figure, follows the steps: +\begin{enumerate} +\item in \texttt{xfig} create a text label with the \emph{special} property set. In this label types the string \texttt{{\textbackslash}FIG$\delta$} where $\delta$ must be replaced by an identifier of your choice but only composed of letters (example: \texttt{{\textbackslash}FIGmyid}); +\item in \texttt{xfig} saves your figure as \texttt{.pstex} files; +\item in \LaTeX, just before including the figure with the embedded \TeX\xspace commands, define the expressions to put in the figure. This action must be done with one of the commands: + \begin{itemize} + \item \texttt{{\textbackslash}figmath\{id\}\{expr\}} will associate to the given identifier the given mathematical expression, + \item \texttt{{\textbackslash}figtext\{id\}\{expr\}} will associate to the given identifier the given text expression; + \end{itemize} +\item in \LaTeX, include the figure with one of the commands: \\ +\texttt{{\textbackslash}mfigurewtex[position]\{width\}\{filename\}\{caption\}\{label\}} \\ +\texttt{{\textbackslash}mfigurewtex*[position]\{width\}\{filename\}\{caption\}\{label\}} +\end{enumerate} + +\section{Tabulars} + +You could include a tabular inside your document with the following environment: \\ +\texttt{{\textbackslash}begin\{mtabular\}[width]\{ncolumns\}\{columns\}...{\textbackslash}end\{mtabular\}} \\ + +This tabular is an extension of the \texttt{tabularx} environment which provides dynamic columns with the specifier \texttt{X}. The parameters are: +\begin{itemize} +\item \texttt{width}: is the desired width of the tabular; + +\item \texttt{ncolumns}: is the count of columns in the tabular. It must be consistent with the column description; + +\item \texttt{columns}: is the description of the columns according to the \texttt{tabular} and \texttt{tabularx} packages. + +\end{itemize} + +The \texttt{mtabular} environment provides: +\begin{itemize} +\item \texttt{{\textbackslash}tabulartitle\{title\}} \\ + this command permits to define the title of the tabular. It uses the colors \texttt{backtableheader} and \texttt{fronttableheader} for the background and the foreground respectively; + +\item \texttt{{\textbackslash}tabularheader\{$header_1$\}...\{$header_n$\}} \\ + this command permits to define the titles of the columns. It uses the colors \texttt{backtableheader} and \texttt{fronttableheader} for the background and the foreground respectively. Because the count of columns was given to the environment this function takes the same count of parameters as the count of columns. +\end{itemize} + +The following example of table is obtained by: \\ +\texttt{{\textbackslash}begin\{mtabular\}[{\textbackslash}linewidth]\{4\}\{lXrX\}} \\ +\texttt{{\textbackslash}tabulartitle\{Example of {\textbackslash}texttt\{mtabular\}\}} \\ +\texttt{{\textbackslash}tabularheader\{Col1\}\{Col2\}\{Col3\}\{Col4\}} \\ +\texttt{a \& b \& c \& d {\textbackslash}{\textbackslash}} \\ +\texttt{{\textbackslash}hline} \\ +\texttt{e \& f \& g \& h {\textbackslash}{\textbackslash}} \\ +\texttt{{\textbackslash}end\{mtabular\}} + +\begin{mtabular}[\linewidth]{4}{lXrX} + \tabulartitle{Example of \texttt{mtabular}} + \tabularheader{Col1}{Col2}{Col3}{Col4} + a & b & c & d \\ + \hline + e & f & g & h \\ +\end{mtabular} + +\section{Tables} + +You could include a table inside your document with the following environment: \\ +\texttt{{\textbackslash}begin\{mtable\}[position]\{width\}\{ncolumns\}\{columns\}\{caption\}\{label\}...{\textbackslash}end\{mtable\}} \\ + +This environment is based on the \texttt{mtabular} environment. The parameters are: +\begin{itemize} +\item \texttt{position}: is the desired position of the table according to the \LaTeX's \texttt{table} definition; +\item \texttt{width}: is the desired width of the table (ie., the tabular inside the table); +\item \texttt{ncolumns}: is the count of columns in the table (ie., the tabular inside the table). It must be consistent with the column description; +\item \texttt{columns}: is the description of the columns according to the \texttt{tabular} and \texttt{tabularx} packages; +\item \texttt{caption}: is the caption of the table; +\item \texttt{label}: is the label referencing the table. +\end{itemize} + +Because the \texttt{mtable} environment registers a label with a string starting with \texttt{tab:}, the following functions are proposed to easily access to the table's references: +\begin{itemize} +\item \texttt{{\textbackslash}tabref\{label\}}: is equivalent to \texttt{{\textbackslash}ref\{tab:label\}}; +\item \texttt{{\textbackslash}tabpageref\{label\}}: is equivalent to \texttt{{\textbackslash}pageref\{tab:label\}}. +\end{itemize} + +The table~\tabref{example:mtable} page~\tabpageref{example:mtable} is an illustration of the following \LaTeX\ code: \\ +\texttt{{\textbackslash}begin\{mtable\}\{{\textbackslash}linewidth\}\{4\}\{lXrX\}\{Example of {\textbackslash}texttt{mtable}\}\{example:mtable\}} \\ +%\texttt{{\textbackslash}tabulartitle\{Example of {\textbackslash}texttt\{mtable\}\}} \\ +\texttt{{\textbackslash}captionastitle} \\ +\texttt{{\textbackslash}tabularheader\{Col1\}\{Col2\}\{Col3\}\{Col4\}} \\ +\texttt{a \& b \& c \& d {\textbackslash}{\textbackslash}} \\ +\texttt{{\textbackslash}hline} \\ +\texttt{e \& f \& g \& h {\textbackslash}{\textbackslash}} \\ +\texttt{{\textbackslash}end\{mtable\}} + +\begin{mtable}{\linewidth}{4}{lXrX}{Example of \texttt{mtable}}{example:mtable} + %\tabulartitle{Example of \texttt{mtable}} + \captionastitle + \tabularheader{Col1}{Col2}{Col3}{Col4} + a & b & c & d \\ + \hline + e & f & g & h \\ +\end{mtable} + +The command \texttt{{\textbackslash}captionastitle} is equivalent to a call to the macro \texttt{{\textbackslash}tabulartitle} with the caption in parameter. + + +\section{Enumerations} + +The package \texttt{upmethodology-fmt} provides a set of commands dedicated to enumeration lists. + +\subsection{Enumeration Counters} + +Sometimes it is usefull to start an enumeration list from a specifical given number. This package provides several commands for saving and restoring the counter use by the enumeration lists. + +Caution: only once counter could be saved at a given time. + +\begin{itemize} +\item \texttt{{\textbackslash}savecounter\{name\}} \\ + save the counter identifier by the given name; +\item \texttt{{\textbackslash}restorecounter\{name\}} \\ + put the previously saved value into the given counter; +\item \texttt{{\textbackslash}setenumcounter\{value\}} \\ + force the value of the enumeration counter; +\item \texttt{{\textbackslash}getenumcounter} \\ + replies the value of the enumeration counter; +\item \texttt{{\textbackslash}saveenumcounter} \\ + save the enumeration counter; +\item \texttt{{\textbackslash}restoreenumcounter} \\ + force the enumeration to use the saved counter's value; +\end{itemize} + +\subsection{Inline Enumeration} + +In several document, an enumeration of things is written inside a paragraph instead of inside a list of points. A simple example is: +\begin{inlineenumeration} +\item first thing; +\item second thing; +\item etc. +\end{inlineenumeration} +And it is produced by the \LaTeX~code: \\ +\texttt{{\textbackslash}begin\{inlineenumeration\}}\\ +\texttt{{\textbackslash}item first thing;}\\ +\texttt{{\textbackslash}item second thing;}\\ +\texttt{{\textbackslash}item etc.}\\ +\texttt{{\textbackslash}end\{inlineenumeration\}}\\ + +\section{Footnotes} + +The package \texttt{upmethodology-fmt} provides a set of commands allowing to save the reference number of a footnote and to recall this reference many time as required. + +\begin{itemize} +\item \texttt{{\textbackslash}savefootnote\{footnote text\}\{footnote id\}} \\ + put a footnote and mark it with the corresponding label. \\ + Example: \texttt{{\textbackslash}savefootnote\{This is an example of a recallable footnote\}\{footrecalla\}}\savefootnote{This is an example of a recallable footnote}{footrecalla}; +\item \texttt{{\textbackslash}savefootnote*\{footnote text\}\{footnote id\}} \\ + mark a footnote with the corresponding label but do not put in the current page. \\ + Example: \texttt{{\textbackslash}savefootnote*\{This is a second example of a recallable footnote\}\{footrecallb\}}\savefootnote*{This is a second example of a recallable footnote}{footrecallb}; +\item \texttt{{\textbackslash}reffootnote\{footnote id\}} \\ + recall the footnote reference without page number. \\ + Example: \texttt{{\textbackslash}reffootnote\{footrecalla\}}\reffootnote{footrecalla}. +\item \texttt{{\textbackslash}reffootnote*\{footnote id\}} \\ + recall the footnote reference with the page number if different of the current page. \\ + Example: \texttt{{\textbackslash}reffootnote*\{footrecallb\}}\reffootnote*{footrecallb}. +\end{itemize} + +\section{UML diagrams on the side of paragraphs} + +The package \texttt{upmethodology-fmt} provides an environment which permits to put an UML diagram (or any other picture) on the side of a paragraph. + +\begin{itemize} +\item \texttt{{\textbackslash}begin\{umlinpar\}[width]\{picture\_path\}}\\\texttt{text}\\\texttt{{\textbackslash}end\{umlinpat\}} \\ + put the specified picture on the side of the given text. The optional parameter \texttt{width} corresponds to the desired width ofthe picture. By default it is \texttt{.5{\textbackslash}linewidth}. +\end{itemize} + +\begin{umlinpar}{smalllogo} + This paragraph is an typical example of the usage of the environment \texttt{umlinpar}. To obtain it, the following \LaTeX\ code was typed: \\ +\texttt{{\textbackslash}begin\{umlinpar\}\{smalllogo\}} \\ +\texttt{This paragraph is an typical example of the usage of the environment {\textbackslash}texttt\{umlinpar\}.} \\ +\texttt{{\textbackslash}end\{umlinpar\}} \\ +\end{umlinpar} + +\section{Date formatting} + +Because the concept of date was important and unfortunately localized, this package provides a set of functions to define and extract information from dates (the supported date formats are described in table~\ref{tab:date.formats}): + +\begin{itemize} +\item \texttt{{\textbackslash}makedate\{day\}\{month\}\{year\}}\\ +permits to create the text corresponding to the given date according to the current localized date format. +\item \texttt{{\textbackslash}extractyear\{formatted\_date\}}\\ +extract the year field from a date respecting the localized date format. +\item \texttt{{\textbackslash}extractmonth\{formatted\_date\}}\\ +extract the month field from a date respecting the localized date format. +\item \texttt{{\textbackslash}extractday\{formatted\_date\}}\\ +extract the day field from a date respecting the localized date format. +\end{itemize} + +\begin{table}[Hht] + \begin{center} + \begin{tabular}{|>{\ttfamily}l|l|} + \hline + yyyy/mm/dd & default format \\ + %mm/dd/yyyy & US format \\ + dd/mm/yyyy & french format \\ + \hline + \end{tabular} + \end{center} + \caption{List of supported date formats} + \label{tab:date.formats} +\end{table} + +\section{Text formatting} + +The package \texttt{upmethodology-fmt} provides a set of commands to format the text. + +\begin{itemize} +\item \texttt{{\textbackslash}textsup\{text\}} \\ + put a text as exponent in text mode instead of the basic \LaTeX exponent in math mode. \\ + Example: \texttt{{\textbackslash}textsup\{this is an exponent\}}\textsup{this is an exponent}; +\item \texttt{{\textbackslash}textsub\{text\}} \\ + put a text as indice in text mode instead of the basic \LaTeX indice in math mode. \\ + Example: \texttt{{\textbackslash}textsub\{this is an indice\}}\textsub{this is an indice}; +\item \texttt{{\textbackslash}makename[von]\{first name\}\{last name\}} \\ + format the specified peoople name components according to the document standards. By default, the format \texttt{first von last} is used. \\ + Example: \texttt{{\textbackslash}makename\{St\'ephane\}\{Galland\}}, \makename{St\'ephane}{Galland}; +\end{itemize} + +\section{Symbols} + +The package \texttt{upmethodology-fmt} provides several symbols described inside the table~\ref{tab:symbols}. + +\begin{table}[Hht] + \begin{center} + \begin{tabular}{|>{\ttfamily}l|l|} + \hline + {\textbackslash}copyright & \copyright \\ + {\textbackslash}trademark & \trademark \\ + {\textbackslash}regmark & \regmark \\ + {\textbackslash}smalltrade & \smalltrade \\ + {\textbackslash}smallreg & \smallreg \\ + {\textbackslash}smallcopy & \smallcopy \\ + {\textbackslash}st & \st \\ + {\textbackslash}nd & \nd \\ + {\textbackslash}rd & \rd \\ + {\textbackslash}th & \th \\ + \hline + \end{tabular} + \end{center} + \caption{List of symbols} + \label{tab:symbols} +\end{table} + +\section{Bibliography} + +The package \texttt{upmethodology-fmt} provides a set of commands allowing to manage the bibliography. The default bibliography style is \texttt{abbr}. + +\begin{itemize} +\item \texttt{{\textbackslash}bibliographystyle\{style\}} \\ + set the bibliography style to use. \\ + Example: \texttt{{\textbackslash}bibliographystyle\{alpha\}}; +\item \texttt{{\textbackslash}bibliography\{file\}} \\ + set the \textsc{Bib}\TeX\ file to use. \\ + Example: \texttt{{\textbackslash}bibliography\{mybib\}}; +\item \texttt{{\textbackslash}bibsize\{size\}} \\ + set the font size used for the bibliography section. \\ + Example: \texttt{{\textbackslash}bibsize\{\Huge\}}; +\end{itemize} + +%########################################################### + +\chapter{Package upmethodology-document} + +\begin{center} + \texttt{Version: \VERdoc} +\end{center} + +The package \texttt{upmethodology-document} provides base function to manage document information (project, subproject, authors...). + +\section{Document Information and Declaration} + +The informations associated to an UP document are: +\begin{itemize} +\item \texttt{{\textbackslash}theupmproject} is the name of the project for which the document was produced; +\item \texttt{{\textbackslash}theupmsubproject} is the name of the sub-project for which the document was produced; +\item \texttt{{\textbackslash}theupmdocname} is the name of the document; +\item \texttt{{\textbackslash}theupmdocref} is the reference number of the document; +\item \texttt{{\textbackslash}theupmfulldocname} is the complete name of the document (composing by the project, subp-project and name of the document). +\end{itemize} + +You could declare the information about your document with one of the following functions: \\ +\texttt{{\textbackslash}declaredocument\{project\}\{name\}\{ref\}} \\ +\texttt{{\textbackslash}declaredocumentex\{project\}\{subproject\}\{name\}\{ref\}} \\ +where the parameters are: +\begin{itemize} +\item \texttt{project} is the name of the project for which the document is for; +\item \texttt{subproject} is the name of the sub-project for which the document is for; +\item \texttt{name} is the name of the document; +\item \texttt{ref} is the reference number of the document. +\end{itemize} + +\section{Document Summary} + +You can obtain a documet summary with the command \texttt{{\textbackslash}upmdocumentsummary[width]} which produces: + +\upmdocumentsummary + +\section{Change Icons} + +By default, this package uses the logo of the laboratory Systems and Transport as icons. You could change them with the commands: + +\begin{itemize} +\item \texttt{{\textbackslash}defupmsmalllogo\{filename\}} defines the small logo used in the headers for instance; +\item \texttt{{\textbackslash}defupmlogo\{filename\}} defines the logo used on the front page for instance. +\end{itemize} + +The logos' filenames are accessible with the functions \texttt{{\textbackslash}theupmsmalldoclogo} and \texttt{{\textbackslash}theupmdoclogo}. + +\section{Document Authors} + +An author is someone who participates to the writing of the document. You could register author identities with: \\ +\texttt{{\textbackslash}addauthor[email]\{firstname\}\{name\}} \\ +\texttt{{\textbackslash}addauthorvalidator[email]\{firstname\}\{name\}} + +The list of the authors is accessible by two means: +\begin{itemize} +\item \texttt{{\textbackslash}theauthorlist} is a coma-separated list of the authors' names; +\item \texttt{{\textbackslash}upmdocumentauthors} procudes an array of all the authors (see below for an example). +\end{itemize} + +\upmdocumentauthors + +\section{Document Validators} + +A validator is someone who participates to the validation of the document. You could register validator identities with: \\ +\texttt{{\textbackslash}addvalidator[email]\{firstname\}\{name\}} \\ +\texttt{{\textbackslash}addauthorvalidator[email]\{firstname\}\{name\}} + +The list of the validators is accessible by two means: +\begin{itemize} +\item \texttt{{\textbackslash}thevalidatorlist} is a coma-separated list of the validator' names; +\item \texttt{{\textbackslash}upmdocumentvalidators} procudes an array of all the validators (see below for an example). +\end{itemize} + +\upmdocumentvalidators + +\section{Informed People} + +An informed people is someone who receives the document to be informed about its content. You could register informed people identities with: \\ +\texttt{{\textbackslash}addinformed[email]\{firstname\}\{name\}} + +The list of the informed people is accessible by two means: +\begin{itemize} +\item \texttt{{\textbackslash}theinformedlist} is a coma-separated list of the informed people' names; +\item \texttt{{\textbackslash}upmdocumentinformedpeople} procudes an array of all the informed people (see below for an example). +\end{itemize} + +\upmdocumentinformedpeople + +\section{Document Sectionning} + +The package \texttt{upmethodology-document} provides several commands that permit to create special sections: + +\subsection{Part Sectionning} + +If you want to add a document part that has no a part number but appearing inside the table of content, the classical \LaTeX\ commands \texttt{{\textbackslash}part} and \texttt{{\textbackslash}part*} are inefficient. Indeed, \texttt{{\textbackslash}part} add a numbered part inside the table of content, and \texttt{{\textbackslash}part*} adds an unnumbered part but not inside the table of content. + +To add a unnumbered part inside the table of content, you could use one of the commands: \\ +\texttt{{\textbackslash}parttoc[toctitle]\{title\}} \\ +\texttt{{\textbackslash}parttoc*[toctitle]\{title\}} + +The commands \texttt{{\textbackslash}parttoc} and \texttt{{\textbackslash}parttoc*} have the same effect except that \texttt{{\textbackslash}parttoc*} aligns the part's title to the other numbered parts' titles; and \texttt{{\textbackslash}parttoc} not. + +\subsection{Chapter Sectionning} + +If you want to add a document chapter that has no a chapter number but appearing inside the table of content, the classical \LaTeX\ commands \texttt{{\textbackslash}chapter} and \texttt{{\textbackslash}chapter*} are inefficient. Indeed, \texttt{{\textbackslash}chapter} add a numbered chapter inside the table of content, and \texttt{{\textbackslash}chapter*} adds an unnumbered chapter but not inside the table of content. + +To add a unnumbered chapter inside the table of content, you could use one of the commands: \\ +\texttt{{\textbackslash}chaptertoc[toctitle]\{title\}} \\ +\texttt{{\textbackslash}chaptertoc*[toctitle]\{title\}} + +The commands \texttt{{\textbackslash}chaptertoc} and \texttt{{\textbackslash}chaptertoc*} have the same effect except that \texttt{{\textbackslash}chaptertoc*} aligns the chapter's title to the other numbered chapters' titles; and \texttt{{\textbackslash}chaptertoc} not. + +\subsection{Section Sectionning} + +If you want to add a document section that has no a section number but appearing inside the table of content, the classical \LaTeX\ commands \texttt{{\textbackslash}section} and \texttt{{\textbackslash}section*} are inefficient. Indeed, \texttt{{\textbackslash}section} add a numbered section inside the table of content, and \texttt{{\textbackslash}section*} adds an unnumbered section but not inside the table of content. + +To add a unnumbered section inside the table of content, you could use one of the commands: \\ +\texttt{{\textbackslash}sectiontoc[toctitle]\{title\}} \\ +\texttt{{\textbackslash}sectiontoc*[toctitle]\{title\}} + +The commands \texttt{{\textbackslash}sectiontoc} and \texttt{{\textbackslash}sectiontoc*} have the same effect except that \texttt{{\textbackslash}sectiontoc*} aligns the section's title to the other numbered sections' titles; and \texttt{{\textbackslash}sectiontoc} not. + +\subsection{Subsection Sectionning} + +If you want to add a document subsection that has no a subsection number but appearing inside the table of content, the classical \LaTeX\ commands \texttt{{\textbackslash}subsection} and \texttt{{\textbackslash}subsection*} are inefficient. Indeed, \texttt{{\textbackslash}subsection} add a numbered subsection inside the table of content, and \texttt{{\textbackslash}subsection*} adds an unnumbered subsection but not inside the table of content. + +To add a unnumbered subsection inside the table of content, you could use one of the commands: \\ +\texttt{{\textbackslash}subsectiontoc[toctitle]\{title\}} \\ +\texttt{{\textbackslash}subsectiontoc*[toctitle]\{title\}} + +The commands \texttt{{\textbackslash}subsectiontoc} and \texttt{{\textbackslash}subsectiontoc*} have the same effect except that \texttt{{\textbackslash}subsectiontoc*} aligns the subsection's title to the other numbered subsections' titles; and \texttt{{\textbackslash}subsectiontoc} not. + +\subsection{Subsubsection Sectionning} + +If you want to add a document subsubsection that has no a subsubsection number but appearing inside the table of content, the classical \LaTeX\ commands \texttt{{\textbackslash}subsubsection} and \texttt{{\textbackslash}subsubsection*} are inefficient. Indeed, \texttt{{\textbackslash}subsubsection} add a numbered subsubsection inside the table of content, and \texttt{{\textbackslash}subsubsection*} adds an unnumbered subsubsection but not inside the table of content. + +To add a unnumbered subsubsection inside the table of content, you could use one of the commands: \\ +\texttt{{\textbackslash}subsubsectiontoc[toctitle]\{title\}} \\ +\texttt{{\textbackslash}subsubsectiontoc*[toctitle]\{title\}} + +The commands \texttt{{\textbackslash}subsubsectiontoc} and \texttt{{\textbackslash}subsubsectiontoc*} have the same effect except that \texttt{{\textbackslash}subsubsectiontoc*} aligns the subsubsection's title to the other numbered subsubsections' titles; and \texttt{{\textbackslash}subsubsectiontoc} not. + +\section{Localization} + +The following commands defines some localized strings used by \texttt{upmethodology-document}: +\begin{itemize} +\item \texttt{{\textbackslash}upm@lang@project}: Project; +\item \texttt{{\textbackslash}upm@lang@document}: Document; +\item \texttt{{\textbackslash}upm@lang@docref}: Reference; +\item \texttt{{\textbackslash}upm@lang@lastupdate}: Last Update; +\item \texttt{{\textbackslash}upm@lang@document@summary}: Document Summary; +\item \texttt{{\textbackslash}upm@lang@document@authors}: Authors; +\item \texttt{{\textbackslash}upm@lang@document@validators}: Validators; +\item \texttt{{\textbackslash}upm@lang@document@names}: Names; +\item \texttt{{\textbackslash}upm@lang@document@emails}: Emails; +\item \texttt{{\textbackslash}upm@lang@document@initials}: Initials. +\end{itemize} + + +%########################################################### + +\chapter{Package upmethodology-frontpage} + +\begin{center} + \texttt{Version: \VERfp} +\end{center} + +The package \texttt{upmethodology-frontpage} provides an front page for the UP documents. This package does not provides any public function. It is based on all the previous packages. + +\section{Change Front Page Layout} + +It is possible to change the layout of the front page with the command: \\ +\texttt{{\textbackslash}setfrontlayout\{layout\_name\}}\\ +where \texttt{layout\_name} must be one of: +\begin{itemize} +\item \texttt{classic}: classic front page layout with title and logo; +\item \texttt{modern}: front page layout with title and logo and background picture. +\end{itemize} + +The figure~\figref{frontpage:layout} illustrates the differents layouts. + +\begin{mfigures}{Front Page Layouts}{frontpage:layout} + \mbox{}\hfill + \msubfigure{width=.45\linewidth}{frontclassic}{\texttt{classic}} + \hfill + \msubfigure{width=.45\linewidth}{frontmodern}{\texttt{modern}} + \hfill\mbox{} +\end{mfigures} + +\section{Change Illustration Picture} + +It is possible to insert an illustration picture on the front page. You could specify the image with the command: \\ +\texttt{{\textbackslash}setfrontillustration[width\_factor]\{filename\}} \\ +where: +\begin{itemize} +\item \texttt{width\_actor} is the scaling factor of the picture according to the line width. If you specifies \texttt{1} the image will not be scaled, for \texttt{.5} the image will be the half of its original width... +\item \texttt{filename} is the name of picture to use as the illustration. +\end{itemize} + +\section{Localization} + +The following commands defines some localized strings used by \texttt{upmethodology-frontpage}: +\begin{itemize} +\item \texttt{{\textbackslash}upm@lang@front@authors}: Authors; +\end{itemize} + +%########################################################### + +\chapter{Package upmethodology-task} + +\begin{center} + \texttt{Version: \VERtask} +\end{center} + +The \LaTeX\ package \texttt{upmethodology-task} provides a set of commands to define project's tasks. + +This package could log the message "\verb+Project Task(s) may have changed. Rerun to get cross-references right+" when some task information was not found or due to cross-references on them. + +\section{Task Definition} + +The definition of a task could be made only inside one of the following environments: \\ +\texttt{{\textbackslash}begin\{taskdescription\}\{id\}...{\textbackslash}end\{taskdescription\}} \\ +\texttt{{\textbackslash}begin\{taskdescription*\}\{id\}...{\textbackslash}end\{taskdescription*\}} \\ +where \texttt{id} is the identifier of the task. + +The environment \texttt{taskdefinion} displays the task's description with a call to \texttt{{\textbackslash}thetaskdescription\{id\}}. In the opposite \texttt{taskdefinition*} never displays the ta's description. + +Inside one of the task's definition environment above, you could use one of the following commands to define the task's attributes: +\begin{itemize} +\item \texttt{{\textbackslash}taskname\{name\}} \\ + permits to defines the name of the task; +\item \texttt{{\textbackslash}tasksuper\{id\}} \\ + indicates that the current task is a sub-task of the task identified by the given identifier; +\item \texttt{{\textbackslash}taskcomment\{text\}} \\ + permits to describe the task's purposes and goals (will be shown in the description box of the task's description); +\item \texttt{{\textbackslash}taskprogress\{percent\}} \\ + defines the percent for thtask's archieving; +\item \texttt{{\textbackslash}taskstart\{date\}} \\ + permits to set the starting date of the task (real or predicted); +\item \texttt{{\textbackslash}taskend\{date\}} \\ + permits to set the finished date of the task (real or predicted); +\item \texttt{{\textbackslash}taskmanager\{name\}} \\ + adds a task's manager into the list of the managers; +\item \texttt{{\textbackslash}taskmember\{name\}} \\ + adds a task's member into the list of the members; +\item \texttt{{\textbackslash}taskmilestone\{date\}\{comment\}} \\ + add a milestone into the task for the given date and described by the given comment. +\end{itemize} + +\section{Task Reference} + +You could reference any information about the defined tasks in your document. In case you used cross-references this package could log the message "\verb+Project Task(s) may have changed. Rerun to get cross-references right+" to complain about rebuilding of our document. + +The following commands are available: +\begin{itemize} +\item \texttt{{\textbackslash}thetasksuper\{id\}} \\ + replies the identifier of the parent task corresponding to the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskname\{id\}} \\ + replies the name of the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskcomment\{id\}} \\ + replies the description for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskprogress\{id\}} \\ + replies the archieving percent for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskstart\{id\}} \\ + replies the starting date for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskend\{id\}} \\ + replies the ending date for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskmanagers\{id\}} \\ + replies the managers' list for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskmembers\{id\}} \\ + replies the members' list for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskmilestones\{id\}} \\ + replies the list of milestone's dates for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskmilestonecomment\{id\}\{date\}} \\ + replies the comment of the given milestone for the the task identified by \texttt{id}; +\item \texttt{{\textbackslash}thetaskdescription[width]\{id\}} \\ + replies the complete description of the the task identified by \texttt{id}. +\end{itemize} + +\section{Localization} + +The following commands defines some localized strings used by \texttt{upmethodology-task}: +\begin{itemize} +\item \texttt{{\textbackslash}upm@task@lang@task}: Task; +\item \texttt{{\textbackslash}upm@task@lang@escription}: Description; +\item \texttt{{\textbackslash}upm@task@lang@startat}: Start at; +\item \texttt{{\textbackslash}upm@task@lang@endat}: End at; +\item \texttt{{\textbackslash}upm@task@lang@archieved}: Archieved; +\item \texttt{{\textbackslash}upm@task@lang@managers}: Managers; +\item \texttt{{\textbackslash}upm@task@lang@members}: Members; +\item \texttt{{\textbackslash}upm@task@lang@Milestones}: Milestones; +\item \texttt{{\textbackslash}upm@task@lang@subtask}: Sub-task of. +\end{itemize} + +%########################################################### + +\chapter{Class upmethodology-document} + +\begin{center} + \texttt{Version: \VERdocclazz} +\end{center} + +The \LaTeX\ class \texttt{upmethodology-document} provides an extension of the class \texttt{book} dedicated to the UP documents. This class automatically add a front page, a document summary, an author's list, a validator's list and a version history. + +It also provides a default formatting of the headers of the pages. + +%########################################################### + +\chapter{Package upmethodology-code} + +\begin{center} + \texttt{Version: \VERcode} +\end{center} + +The \LaTeX\ package \texttt{upmethodology-code} provides a set of commands for source code formatting. The supported source codes are UML, Java and C++. + +You could load the package with the following options: +\begin{center} +\begin{tabular}{|>{\ttfamily}l|l|} +\hline +uml & use the UML notation (default value)\\ +java & use the Java notation \\ +cpp & use the C++ notation \\ +\hline +\end{tabular} +\end{center} + +You could also change the notation language with the command: \\ +\texttt{{\textbackslash}upmcodelang\{upm\string|java\string|cpp\}} + +The provided commands are listed in the following table: \\ +\begin{tabularx}{\linewidth}{|>{\ttfamily}l|X|X|X|} + \hline + {\normalfont Command} & UML & Java & C++ \\ + \hline + \multicolumn{4}{|X|}{Prototypes} \\ + \hline + {\textbackslash}jclass\{TheClass\} & \upmcodelang{uml}\jclass{TheClass} & \upmcodelang{java}\jclass{TheClass} & \upmcodelang{cpp}\jclass{TheClass} \\ + {\textbackslash}jinterface\{TheInterface\} & \upmcodelang{uml}\jinterface{TheInterface} & \upmcodelang{java}\jinterface{TheInterface} & \upmcodelang{cpp}\jinterface{TheInterface} \\ + {\textbackslash}jpackage\{ThePackage\} & \upmcodelang{uml}\jpackage{ThePackage} & \upmcodelang{java}\jpackage{ThePackage} & \upmcodelang{cpp}\jpackage{ThePackage} \\ + {\textbackslash}jfunc\{FunctionName\} & \upmcodelang{uml}\jfunc{FunctionName} & \upmcodelang{java}\jfunc{FunctionName} & \upmcodelang{cpp}\jfunc{FunctionName} \\ + \hline + \multicolumn{4}{|X|}{Types} \\ + \hline + {\textbackslash}jclazz & \upmcodelang{uml}\jclazz & \upmcodelang{java}\jclazz & \upmcodelang{cpp}\jclazz \\ + {\textbackslash}jvoid & \upmcodelang{uml}\jvoid & \upmcodelang{java}\jvoid & \upmcodelang{cpp}\jvoid \\ + {\textbackslash}jboolean & \upmcodelang{uml}\jboolean & \upmcodelang{java}\jboolean & \upmcodelang{cpp}\jboolean \\ + {\textbackslash}jint & \upmcodelang{uml}\jint & \upmcodelang{java}\jint & \upmcodelang{cpp}\jint \\ + {\textbackslash}jlong & \upmcodelang{uml}\jlong & \upmcodelang{java}\jlong & \upmcodelang{cpp}\jlong \\ + {\textbackslash}jfloat & \upmcodelang{uml}\jfloat & \upmcodelang{java}\jfloat & \upmcodelang{cpp}\jfloat \\ + {\textbackslash}jdouble & \upmcodelang{uml}\jdouble & \upmcodelang{java}\jdouble & \upmcodelang{cpp}\jdouble \\ + {\textbackslash}jchar & \upmcodelang{uml}\jchar & \upmcodelang{java}\jchar & \upmcodelang{cpp}\jchar \\ + {\textbackslash}jstring & \upmcodelang{uml}\jstring & \upmcodelang{java}\jstring & \upmcodelang{cpp}\jstring \\ + {\textbackslash}jarray\{T\} & \upmcodelang{uml}\jarray{\jclass{T}} & \upmcodelang{java}\jarray{\jclass{T}} & \upmcodelang{cpp}\jarray{\jclass{T}} \\ + {\textbackslash}jcollection\{T\} & \upmcodelang{uml}\jcollection{\jclass{T}} & \upmcodelang{java}\jcollection{\jclass{T}} & \upmcodelang{cpp}\jcollection{\jclass{T}} \\ + {\textbackslash}jset\{T\} & \upmcodelang{uml}\jset{\jclass{T}} & \upmcodelang{java}\jset{\jclass{T}} & \upmcodelang{cpp}\jset{\jclass{T}} \\ + \hline +\end{tabularx} +\newpage +\begin{tabularx}{\linewidth}{|>{\ttfamily}l|X|X|X|} + \hline + {\normalfont Command} & UML & Java & C++ \\ + \hline + \multicolumn{4}{|X|}{Constants} \\ + \hline + {\textbackslash}jtrue & \upmcodelang{uml}\jtrue & \upmcodelang{java}\jtrue & \upmcodelang{cpp}\jtrue \\ + {\textbackslash}jfalse & \upmcodelang{uml}\jfalse & \upmcodelang{java}\jfalse & \upmcodelang{cpp}\jfalse \\ + \hline + \multicolumn{4}{|X|}{Operations} \\ + \hline + {\textbackslash}jcode\{source code\} & \upmcodelang{uml}\jcode{source code} & \upmcodelang{java}\jcode{source code} & \upmcodelang{cpp}\jcode{source code} \\ + {\textbackslash}jcall\{fct\}\{params\} & \upmcodelang{uml}\jcall{fct}{params} & \upmcodelang{java}\jcall{fct}{params} & \upmcodelang{cpp}\jcall{fct}{params} \\ + {\textbackslash}jop\{operator\} & \upmcodelang{uml}\jop{operator} & \upmcodelang{java}\jop{operator} & \upmcodelang{cpp}\jop{operator} \\ + \hline +\end{tabularx} + +\chapter{Authors and License} + +Copyright \copyright\ \upmcopyrightdate\ \makename{St\'ephane}{Galland} + +\vspace{.5cm} + +This program is free library; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. + +\vspace{.5cm} + +This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + +\vspace{.5cm} + +You should have received a copy of the GNU Lesser General Public License along with this library; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +\end{document} |