diff options
Diffstat (limited to 'Master')
14 files changed, 112 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf Binary files differindex e76b760ca8f..59f95906539 100644 --- a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf +++ 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 index 9f2f0fcf6ee..abd67b3bd8e 100644 --- a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex +++ b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex @@ -11,6 +11,7 @@ \incsubversion{\makedate{04}{08}{2019}}{Add 'graphicspathcontext' option.}{\upmpublic} \incversion{\makedate{17}{09}{2019}}{Add class options to include optional packages.}{\upmpublic} \incversion{\makedate{06}{04}{2020}}{Add explainations for \texttt{{\textbackslash}Append} and \texttt{{\textbackslash}setdocumentpurpose}.}{\upmpublic} +\incversion{\makedate{03}{06}{2021}}{Add emphazing box with titles.}{\upmpublic} %\incversion{\makedate{17}{09}{2019}}{Add the documentation for the \texttt{upmethodology-spec} package.}{\upmpublic} \addauthorvalidator*[galland@arakhne.org]{St{\'e}phane}{Galland}{Original Author} @@ -1402,11 +1403,58 @@ produces: This is an emphazed text. \end{emphbox} +\paragraph{Emphazing Box with a Title:} Three additional boxes are provided. All of them are output a title, and has a different background color: \\ +\texttt{{\textbackslash}begin\{titleemphbox\}[width]\{title\} text {\textbackslash}end\{titleemphbox\}} \\ +\texttt{{\textbackslash}begin\{titleemphbox2\}[width]\{title\} text {\textbackslash}end\{titleemphbox2\}} \\ +\texttt{{\textbackslash}begin\{titleemphbox3\}[width]\{title\} text {\textbackslash}end\{titleemphbox3\}} + +The following \LaTeX\ code: +\begin{verbatim} +\begin{titleemphbox}[.7\linewidth]{The title} +This is an emphazed text. +\end{titleemphbox} +\end{verbatim} +produces: + +\begin{titleemphbox}[.7\linewidth]{The title} +This is an emphazed text. +\end{titleemphbox} + + +The following \LaTeX\ code: +\begin{verbatim} +\begin{titleemphbox2}[.7\linewidth]{The title} +This is an emphazed text. +\end{titleemphbox2} +\end{verbatim} +produces: + +\begin{titleemphbox2}[.7\linewidth]{The title} +This is an emphazed text. +\end{titleemphbox2} + + +The following \LaTeX\ code: +\begin{verbatim} +\begin{titleemphbox3}[.7\linewidth]{The title} +This is an emphazed text. +\end{titleemphbox3} +\end{verbatim} +produces: + +\begin{titleemphbox3}[.7\linewidth]{The title} +This is an emphazed text. +\end{titleemphbox3} + + + \paragraph{Change the colors of the emphazing box:} You could change the colors of the \texttt{emphbox} environment by redefining the colors below with one of the macros \texttt{{\textbackslash}definecolor} or \texttt{{\textbackslash}colorlet}: \begin{itemize} \item \texttt{emphboxbackground} is the color of the background of the environment; \item \texttt{emphboxborder} is the color of the frame; \item \texttt{emphboxtext} is the color of the text in the body of the environment. +\item \texttt{emphboxbackgroundb} is the color of the background of the second environment with title; +\item \texttt{emphboxbackgroundc} is the color of the background of the third environment with title; \end{itemize} \paragraph{Example of color redefinition:} The following \LaTeX\ code: diff --git a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def index 571ec479390..acfca6c74fb 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def +++ b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def @@ -1 +1 @@ -\def\UPMVERSION{20200406} +\def\UPMVERSION{20210708} diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty index 32df29b7fc6..daa22683fd5 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-backpage.sty @@ -1,6 +1,6 @@ % Back page for Unified Process Methodology % -% Copyright (c) 2009-2013 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2009-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -17,7 +17,7 @@ % write to the Free Software Foundation, Inc., 59 Temple Place - Suite % 330, Boston, MA 02111-1307, USA. -\global\edef\upm@package@bp@ver{2013/12/14} +\global\edef\upm@package@bp@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-backpage}[\upm@package@bp@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty index 470a1d3d598..9dfe0c8e686 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-code.sty @@ -1,6 +1,6 @@ % Source Code Description for Unified Process Methodology % -% Copyright (c) 2006-2007 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2006-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -22,7 +22,7 @@ % 2009-10-30 Clean code. % -\global\edef\upm@package@code@ver{2009/10/30} +\global\edef\upm@package@code@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-code}[\upm@package@code@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls index 735ffbae2a6..4572a983415 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls @@ -1,6 +1,6 @@ % Document class for Unified Process Methodology % -% Copyright (c) 2014 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2014-21 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -17,7 +17,7 @@ % write to the Free Software Foundation, Inc., 59 Temple Place - Suite % 330, Boston, MA 02111-1307, USA. -\global\edef\upm@package@docclazz@ver{2019/09/17} +\global\edef\upm@package@docclazz@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{upmethodology-document}[\upm@package@docclazz@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty index f3deda16b89..fcffc37a41d 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.sty @@ -1,6 +1,6 @@ % Package for Unified Process Methodology's documents % -% Copyright (c) 2006-2020 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2006-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -17,7 +17,7 @@ % write to the Free Software Foundation, Inc., 59 Temple Place - Suite % 330, Boston, MA 02111-1307, USA. -\global\edef\upm@package@doc@ver{2020/04/06} +\global\edef\upm@package@doc@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-document}[\upm@package@doc@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty index f70441df7b3..2aa559ab7e3 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-extension.sty @@ -1,6 +1,6 @@ % Package for Unified Process Methodology's extensions % -% Copyright (c) 2006-2020 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2006-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -18,7 +18,7 @@ % 330, Boston, MA 02111-1307, USA. % -\global\edef\upm@package@ext@ver{2020/04/06} +\global\edef\upm@package@ext@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-extension}[\upm@package@ext@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty index 776022789d5..bb28d2ce6c1 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty @@ -1,6 +1,6 @@ % Layout and Pagraph Format for Unified Process Methodology % -% Copyright (c) 2006-2009, 2012-2019 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2006-2009, 2012-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -17,7 +17,7 @@ % write to the Free Software Foundation, Inc., 59 Temple Place - Suite % 330, Boston, MA 02111-1307, USA. -\global\edef\upm@package@fmt@ver{2019/09/28} +\global\edef\upm@package@fmt@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-fmt}[\upm@package@fmt@ver] @@ -1536,12 +1536,53 @@ \colorlet{emphboxbackground}{backtableheader} \colorlet{emphboxborder}{fronttableheader} \colorlet{emphboxtext}{fronttableheader} +\colorlet{emphboxbackgroundb}{yellow!7} +\colorlet{emphboxbackgroundc}{green!10} +%----- +% Draw an emph box without title +% [#1]: width of the box (linewidth by default) \NewEnviron{emphbox}[1][\linewidth]{% \begin{framedcolorminipage}{#1}{emphboxborder}{emphboxbackground}% \centering\color{emphboxtext}\BODY% \end{framedcolorminipage}% } +%----- +% Draw an emph box with title +% [#1]: width of the box (linewidth by default) +% #2: text of the title +\NewEnviron{titleemphbox}[2][\linewidth]{% + \begin{framedcolorminipage}{#1}{emphboxborder}{emphboxbackground}% + \centering\color{emphboxtext}% + \vspace{.25cm}\uline{\textbf{#2}}\\[.25cm]% + \raggedright\BODY\vspace{.25cm}% + \end{framedcolorminipage}\\[.4cm]% +} + +%----- +% Draw an emph box without title with the second background color +% [#1]: width of the box (linewidth by default) +% #2: text of the title +\NewEnviron{titleemphbox2}[2][\linewidth]{% + \begin{framedcolorminipage}{#1}{emphboxborder}{emphboxbackgroundb}% + \centering\color{emphboxtext}% + \vspace{.25cm}\uline{\textbf{#2}}\\[.25cm]% + \raggedright\BODY\vspace{.25cm}% + \end{framedcolorminipage}\\[.4cm]% +} + +%----- +% Draw an emph box without title with the third background color +% [#1]: width of the box (linewidth by default) +% #2: text of the title +\NewEnviron{titleemphbox3}[2][\linewidth]{% + \begin{framedcolorminipage}{#1}{emphboxborder}{emphboxbackgroundc}% + \centering\color{emphboxtext}% + \vspace{.25cm}\uline{\textbf{#2}}\\[.25cm]% + \raggedright\BODY\vspace{.25cm}% + \end{framedcolorminipage}\\[.4cm]% +} + \endinput diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty index 3033ce02fef..d5175e1bc89 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-frontpage.sty @@ -1,6 +1,6 @@ % Front page for Unified Process Methodology % -% Copyright (c) 2006-2015 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2006-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -18,7 +18,7 @@ % 330, Boston, MA 02111-1307, USA. % -\global\edef\upm@package@fp@ver{2017/08/08} +\global\edef\upm@package@fp@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-frontpage}[\upm@package@fp@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty index 166c2e0f090..32d870d3c48 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-p-common.sty @@ -1,4 +1,4 @@ -% Copyright (c) 2009-13 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2009-21 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -16,7 +16,7 @@ % 330, Boston, MA 02111-1307, USA. % -\global\edef\upm@package@private@doctype@ver{2015/04/24} +\global\edef\upm@package@private@doctype@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-p-common}[\upm@package@private@doctype@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty index bc96076ab4a..a0297667a52 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-spec.sty @@ -1,6 +1,6 @@ % Specification Description for Unified Process Methodology % -% Copyright (c) 2006-2007 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2006-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -23,7 +23,7 @@ % 2007-03-19 Add localization. % -\global\edef\upm@package@spec@ver{2019/09/17} +\global\edef\upm@package@spec@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-spec}[\upm@package@spec@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty index fdc90a712ac..a7499fe8dcb 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-task.sty @@ -1,6 +1,6 @@ % Task management for Unified Process Methodology % -% Copyright (c) 2006-2007 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2006-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -23,7 +23,7 @@ % 2007-03-19 Add localization. % -\global\edef\upm@package@task@ver{2009/10/30} +\global\edef\upm@package@task@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-task}[\upm@package@task@ver] diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty index 6d3538ababa..0b2c0b90c11 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-version.sty @@ -1,7 +1,7 @@ % Version management for Unified Process Methodology % % Copyright (c) 2006-2007 Stephane GALLAND <galland@arakhne.org> -% Copyright (c) 2013 Stephane GALLAND <galland@arakhne.org> +% Copyright (c) 2013-2021 Stephane GALLAND <galland@arakhne.org> % % This program is free library; you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as @@ -19,7 +19,7 @@ % 330, Boston, MA 02111-1307, USA. % -\global\edef\upm@package@version@ver{2013/08/26} +\global\edef\upm@package@version@ver{2021/07/08} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-version}[\upm@package@version@ver] |