diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-08 20:42:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-08 20:42:13 +0000 |
commit | eb6c24f10a43d3c0b5f3e12c1de3708be01113d9 (patch) | |
tree | be999a797b695389567a4ff7fe93647eeb63bd76 /Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty | |
parent | 7f1c4945afe37a3bd983ea6e004b0ec59851884d (diff) |
upmethodology (8jul21)
git-svn-id: svn://tug.org/texlive/trunk@59878 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty | 45 |
1 files changed, 43 insertions, 2 deletions
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 |