diff options
author | Karl Berry <karl@freefriends.org> | 2014-07-10 22:24:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-07-10 22:24:00 +0000 |
commit | e0e9c917d6f40572ef9261df8135043bb94d4f5c (patch) | |
tree | 3f13ca313cfc92556a84b3021f541c625d33d58d | |
parent | e9df03618ebbcdf76692fe47d544e93ba0167d80 (diff) |
upmethodology (10jul14)
git-svn-id: svn://tug.org/texlive/trunk@34566 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf | bin | 357096 -> 357933 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex | 51 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty | 26 |
5 files changed, 76 insertions, 12 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 2827dd2f1ea..9dbc86222c4 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 d409444b37a..d3555fea43b 100644 --- a/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex +++ b/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex @@ -4,14 +4,7 @@ \declaredocument{\LaTeX\ Packages for Unified Process Methodology}{Official Documentation}{UPM-2012-01} -%\initialversion[1.0]{\makedate{11}{04}{2006}}{First release of this documentation}{\upmpublic} -\updateversion{18.0}{\makedate{21}{12}{2012}}{{\textbackslash}upmuse \ensuremath{\rightarrow} {\textbackslash}UseExtension}{\upmpublic} -\incversion{\makedate{28}{04}{2013}}{Replace the package inclusion of \texttt{color.sty} by \texttt{xcolor.sty}}{\upmpublic} -\incversion{\makedate{17}{05}{2013}}{Add a section on the default configuration of the package \texttt{graphicx}}{\upmpublic} -\incversion{\makedate{30}{05}{2013}}{Add the macros \texttt{{\textbackslash}includegraphicswtex} and \texttt{{\textbackslash}DeclareGraphicsExtensionsWtex}}{\upmpublic} -\incsubversion{\makedate{31}{05}{2013}}{Fixing some grammar and syntax problems.}{\upmpublic} -\incsubversion{\makedate{06}{07}{2013}}{Add the macro \texttt{{\textbackslash}ifdocumentauthor}.}{\upmpublic} -\incversion{\makedate{15}{08}{2013}}{Add the macros: \texttt{{\textbackslash}textup}, \texttt{{\textbackslash}textsubscript}, \texttt{{\textbackslash}textdown}, \texttt{{\textbackslash}textsubscript}, \texttt{{\textbackslash}Emph}. Add the environments \texttt{enumdescription}, \texttt{enumdescriptionx}.}{\upmpublic} +\updateversion{22.0}{\makedate{15}{08}{2013}}{Add the macros: \texttt{{\textbackslash}textup}, \texttt{{\textbackslash}textsubscript}, \texttt{{\textbackslash}textdown}, \texttt{{\textbackslash}textsubscript}, \texttt{{\textbackslash}Emph}. Add the environments \texttt{enumdescription}, \texttt{enumdescriptionx}.}{\upmpublic} \incversion{\makedate{17}{08}{2013}}{Update the second parameter of \texttt{{\textbackslash}mfigurewtex} to have the same semantic as for \texttt{{\textbackslash}mfigure}.}{\upmpublic} \incversion{\makedate{26}{08}{2013}}{Major bug fixes in the environments \texttt{mtabular} and \texttt{mtable}. \newline Add the macro \texttt{{\textbackslash}tabulartitlespec}. \newline Add the macro \texttt{{\textbackslash}makenamespacing}.}{\upmpublic} \incversion{\makedate{27}{08}{2013}}{Add the environment \texttt{framedcolorminipage}. Add the \texttt{definition} environment.}{\upmpublic} @@ -27,6 +20,7 @@ \incsubversion{\makedate{14}{12}{2013}}{Add the section about \texttt{backcovermessage}.}{\upmpublic} \incsubversion{\makedate{09}{02}{2014}}{Add the section about \texttt{enumerate}. Typos are fixed.}{\upmpublic} \incsubversion{\makedate{20}{06}{2014}}{Add the class option \texttt{standardlists}. Add the dependency to \texttt{environ}.}{\upmpublic} +\incversion{\makedate{09}{07}{2014}}{Add the environment \texttt{emphbox}.}{\upmpublic} \addauthorvalidator*[galland@arakhne.org]{St{\'e}phane}{Galland}{Original Author} \addauthor*{Frans}{van Dunn\'e}{Reviewer} @@ -1259,6 +1253,47 @@ produces: Text of the definition. \end{definition} +\section{Emphazing Box} + +If you want to create a text that is emphazed with a box, you could use the environment: \\ +\texttt{{\textbackslash}begin\{emphbox\}[width] text {\textbackslash}end\{emphbox\}} + +\paragraph{Example:} The following \LaTeX\ code: +\begin{verbatim} +\begin{emphbox}[.7\linewidth] +This is an emphazed text. +\end{emphbox} +\end{verbatim} +produces: + +\begin{emphbox}[.7\linewidth] +This is an emphazed text. +\end{emphbox} + +\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. +\end{itemize} + +\paragraph{Example of color redefinition:} The following \LaTeX\ code: +\begin{verbatim} +\colorlet{emphboxbackground}{gray!20} +\colorlet{emphboxborder}{red} +\begin{emphbox} +This is an emphazed text. +\end{emphbox} +\end{verbatim} +produces: + +\colorlet{emphboxbackground}{gray!20} +\colorlet{emphboxborder}{red} +\begin{emphbox} +This is an emphazed text. +\end{emphbox} + + \section{Framed Boxes or Mini Pages} Standard \LaTeX\ distribution provides the \texttt{minipage} environment. This environment allows you to put a small piece of page inside your document. The package \texttt{upmethodology-fmt} provides two framed extensions of the original \texttt{minipage} environment: \texttt{framedminipage} and \texttt{framedcolorminipage}. diff --git a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def index 22f923eda3a..3d056fd4b87 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def +++ b/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def @@ -1 +1 @@ -\def\UPMVERSION{20140620} +\def\UPMVERSION{20140709} diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls index 31daf883c67..8bd15cbb02b 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-document.cls @@ -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{2014/06/20} +\global\edef\upm@package@docclazz@ver{2014/06/23} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{upmethodology-document}[\upm@package@docclazz@ver] @@ -200,10 +200,15 @@ \global\let\upm@package@docclazz@backmatter\backmatter \gdef\backmatter{% - \upm@package@docclazz@backmatter% \global\let\frontmatter\relax% \global\let\mainmatter\relax% \global\let\backmatter\relax% + \upm@package@docclazz@backmatter% + \global\let\upm@package@docclazz@appendix\appendix% + \gdef\appendix{% + \upm@package@docclazz@appendix% + \global\@mainmattertrue% + }% } %---------------------------------------- diff --git a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty index 6dbae535964..ecc0d1ba1a3 100644 --- a/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty +++ b/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty @@ -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{2014/03/03} +\global\edef\upm@package@fmt@ver{2014/07/09} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{upmethodology-fmt}[\upm@package@fmt@ver] @@ -633,6 +633,14 @@ % PAGE LAYOUT %---------------------------------------- +% Change the factors for determining the element positions +\renewcommand{\topfraction}{.99} % max fraction of floats at top +\renewcommand{\bottomfraction}{.99} % max fraction of floats at bottom +\renewcommand{\textfraction}{.5} % allow minimal text w. figs +\renewcommand{\dbltopfraction}{.66} % fit big float above 2-col. text +\renewcommand{\floatpagefraction}{0.99} % require fuller float pages | N.B.: floatpagefraction MUST be less than topfraction !! +\renewcommand{\dblfloatpagefraction}{.66} % fit big float above 2-col. text + % Update the format of the saved pages and sections \renewcommand{\sectionmark}[1]{\markright{\thesection\ \textsc{#1}}} \ifupmarticleformat\else @@ -1405,4 +1413,20 @@ % Declare the definition environment \declareupmtheorem{definition}{\definitionname}{\listdefinitionname} +%---------------------------------------- +% ENVIRONMENT FOR EMPHBOX +%---------------------------------------- + +%----- +% Defining the style for the emphbox +\colorlet{emphboxbackground}{backtableheader} +\colorlet{emphboxborder}{fronttableheader} +\colorlet{emphboxtext}{fronttableheader} + +\NewEnviron{emphbox}[1][\linewidth]{% + \begin{framedcolorminipage}{#1}{emphboxborder}{emphboxbackground}% + \centering\color{emphboxtext}\BODY% + \end{framedcolorminipage}% +} + \endinput |