diff options
author | Norbert Preining <norbert@preining.info> | 2021-07-08 03:00:51 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-07-08 03:00:51 +0000 |
commit | f008fc632f906448b4bdbc5cd96ab7d98e68b0b9 (patch) | |
tree | 1bd4642b99cce05d6ca1dde2577729d865f402c8 /macros/latex/contrib/upmethodology | |
parent | 4747884efc69f5b8ad51cc818467f7bbf428b815 (diff) |
CTAN sync 202107080300
Diffstat (limited to 'macros/latex/contrib/upmethodology')
14 files changed, 112 insertions, 23 deletions
diff --git a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf b/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf Binary files differindex e76b760ca8..59f9590653 100644 --- a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf +++ b/macros/latex/contrib/upmethodology/doc/upmethodology-doc.pdf diff --git a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex b/macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex index 9f2f0fcf6e..abd67b3bd8 100644 --- a/macros/latex/contrib/upmethodology/doc/upmethodology-doc.tex +++ b/macros/latex/contrib/upmethodology/doc/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/macros/latex/contrib/upmethodology/src/UPMVERSION.def b/macros/latex/contrib/upmethodology/src/UPMVERSION.def index 571ec47939..acfca6c74f 100644 --- a/macros/latex/contrib/upmethodology/src/UPMVERSION.def +++ b/macros/latex/contrib/upmethodology/src/UPMVERSION.def @@ -1 +1 @@ -\def\UPMVERSION{20200406} +\def\UPMVERSION{20210708} diff --git a/macros/latex/contrib/upmethodology/src/upmethodology-backpage.sty b/macros/latex/contrib/upmethodology/src/upmethodology-backpage.sty index 32df29b7fc..daa22683fd 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-backpage.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-code.sty b/macros/latex/contrib/upmethodology/src/upmethodology-code.sty index 470a1d3d59..9dfe0c8e68 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-code.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-document.cls b/macros/latex/contrib/upmethodology/src/upmethodology-document.cls index 735ffbae2a..4572a98341 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-document.cls +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-document.sty b/macros/latex/contrib/upmethodology/src/upmethodology-document.sty index f3deda16b8..fcffc37a41 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-document.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-extension.sty b/macros/latex/contrib/upmethodology/src/upmethodology-extension.sty index f70441df7b..2aa559ab7e 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-extension.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-fmt.sty b/macros/latex/contrib/upmethodology/src/upmethodology-fmt.sty index 776022789d..bb28d2ce6c 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-fmt.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-frontpage.sty b/macros/latex/contrib/upmethodology/src/upmethodology-frontpage.sty index 3033ce02fe..d5175e1bc8 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-frontpage.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-p-common.sty b/macros/latex/contrib/upmethodology/src/upmethodology-p-common.sty index 166c2e0f09..32d870d3c4 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-p-common.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-spec.sty b/macros/latex/contrib/upmethodology/src/upmethodology-spec.sty index bc96076ab4..a0297667a5 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-spec.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-task.sty b/macros/latex/contrib/upmethodology/src/upmethodology-task.sty index fdc90a712a..a7499fe8dc 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-task.sty +++ b/macros/latex/contrib/upmethodology/src/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/macros/latex/contrib/upmethodology/src/upmethodology-version.sty b/macros/latex/contrib/upmethodology/src/upmethodology-version.sty index 6d3538abab..0b2c0b90c1 100644 --- a/macros/latex/contrib/upmethodology/src/upmethodology-version.sty +++ b/macros/latex/contrib/upmethodology/src/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] |