texlive[74733] Master/texmf-dist: upmethodology (24mar25)
commits+karl at tug.org
commits+karl at tug.org
Mon Mar 24 20:46:48 CET 2025
Revision: 74733
https://tug.org/svn/texlive?view=revision&revision=74733
Author: karl
Date: 2025-03-24 20:46:48 +0100 (Mon, 24 Mar 2025)
Log Message:
-----------
upmethodology (24mar25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf
trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
Modified: trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex 2025-03-24 00:42:35 UTC (rev 74732)
+++ trunk/Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex 2025-03-24 19:46:48 UTC (rev 74733)
@@ -4,13 +4,7 @@
\declaredocument{\LaTeX\ Packages for Structured Documents as for Unified Process Methodology}{Official Documentation}{UPM-2025-01}
-\updateversion{23.0}{\makedate{17}{02}{2017}}{Replace the package \texttt{subfigure} by \texttt{subcaption}.}{\upmpublic}
-\incsubversion{\makedate{10}{03}{2017}}{Fixing subfigure invalid alignement.}{\upmpublic}
-\incsubversion{\makedate{08}{08}{2017}}{Fixing spelling errors and typos.}{\upmpublic}
-\incsubversion{\makedate{28}{11}{2017}}{Add 'standardlists' option.}{\upmpublic}
-\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}
+\updateversion{25.0}{\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{14}{03}{2025}}{Update the documentation for the \texttt{declareupmtheorem} macro and \texttt{definition} environment.}{\upmpublic}
\incsubversion{\makedate{15}{03}{2025}}{Add the mention of the dependency to \texttt{tobibind} in the dependencies of \texttt{upmmethodology-fmt}.}{\upmpublic}
@@ -18,6 +12,7 @@
\incversion{\makedate{15}{03}{2025}}{Add the optional "source text" to the macros \texttt{{\textbackslash}mfigure} and \texttt{{\textbackslash}mfigure*}.}{\upmpublic}
\incversion{\makedate{15}{03}{2025}}{Add the macros \texttt{{\textbackslash}addsource} and \texttt{{\textbackslash}tablenote} for the \texttt{mtable} environment.}{\upmpublic}
\incversion{\makedate{15}{03}{2025}}{Use the package \texttt{tcolorbox} for implementing \texttt{mtabular} and \texttt{mtable} environments.}{\upmpublic}
+\incversion{\makedate{23}{03}{2025}}{Add documentation of the algorithms' colors.}{\upmpublic}
\addauthorvalidator*[galland at arakhne.org]{St{\'e}phane}{Galland}{Original Author}
\addauthor*{Frans}{van Dunn\'e}{Reviewer}
@@ -1582,6 +1577,15 @@
Text of the definition.
\end{definition}
+\section{Algorithms}\label{sec:algorithms}
+
+If you have included the \LaTeX\ packages for algorithm floatings, e.g., \texttt{algorithm}, the default style for the algorithms may e altered with the following colors:
+\begin{itemize}
+\item \texttt{algorithmcaptionlabel}: is the color of the text for the label of the algorithms, e.g., \texttt{Algorithm 1:};
+\item \texttt{algorithmcaption}: is the color of the text of the name of the description;
+\item \texttt{algorithmborder}: is the color of the rules that are drawn in the algorithm frame.
+\end{itemize}
+
\section{Emphazing Box}
If you want to create a text that is emphazed with a box, you could use the environment:
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2025-03-24 00:42:35 UTC (rev 74732)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/UPMVERSION.def 2025-03-24 19:46:48 UTC (rev 74733)
@@ -1 +1 @@
-\def\UPMVERSION{20250315}
+\def\UPMVERSION{20250323}
Modified: trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty 2025-03-24 00:42:35 UTC (rev 74732)
+++ trunk/Master/texmf-dist/tex/latex/upmethodology/upmethodology-fmt.sty 2025-03-24 19:46:48 UTC (rev 74733)
@@ -17,7 +17,7 @@
% write to the Free Software Foundation, Inc., 59 Temple Place - Suite
% 330, Boston, MA 02111-1307, USA.
-\global\edef\upm at package@fmt at ver{2025/03/15}
+\global\edef\upm at package@fmt at ver{2025/03/23}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{upmethodology-fmt}[\upm at package@fmt at ver]
@@ -677,6 +677,7 @@
\colorlet{subsectiontitlecolor}{sectiontitlecolor}
\colorlet{subsubsectiontitlecolor}{sectiontitlecolor}
\colorlet{paragraphtitlecolor}{black}
+\colorlet{subparagraphtitlecolor}{gray}
% PRIVATE FORMATTING MACROS
\newcounter{upm at format@section at sectionlevel}
@@ -701,6 +702,9 @@
\gdef\upm at format@paragraphtitle at postfix{.}
\gdef\upm at format@paragraphtitle{\normalfont\normalsize\sffamily\bfseries\color{paragraphtitlecolor}}
+\gdef\upm at format@subparagraphtitle at postfix{:}
+\gdef\upm at format@subparagraphtitle{\normalfont\normalsize\sffamily\itshape\color{subparagraphtitlecolor}}
+
% PART
\ifupmbookformat
\gdef\@part[#1]#2{%
@@ -800,6 +804,14 @@
{#1\upm at format@paragraphtitle at postfix}
{}
+% implementation of subparagraphs.
+\titleformat{\subparagraph}[runin]
+ {\upm at format@subparagraphtitle}
+ {}
+ {2pt}
+ {#1\upm at format@subparagraphtitle at postfix}
+ {}
+
%----------------------------------------
% PAGE LAYOUT
%----------------------------------------
@@ -1908,5 +1920,39 @@
}%
}
+%----------------------------------------
+% REDEFINE THE STYLE FOR THE ALGORITHMS
+%----------------------------------------
+
+\colorlet{algorithmcaptionlabel}{black}
+\colorlet{algorithmcaption}{black}
+\colorlet{algorithmborder}{gray}
+
+\AtBeginDocument{%
+ \@ifundefined{captionsetup}{}{%
+ \captionsetup[algorithm]{labelfont={bf,color=algorithmcaptionlabel}, font={color=algorithmcaption}, labelsep=colon, position=top}
+ }%
+ %
+ \@ifundefined{fs at ruled}{}{%
+ \gdef\fs at ruled{%
+ \def\@fs at cfont{\bfseries}\let\@fs at capt\floatc at toto%
+ % Define the code before the label
+ \def\@fs at pre{%
+ \begingroup\color{algorithmborder}\hrule height.8pt depth0pt \kern2pt\endgroup%
+ }%
+ % Define the code between the label and the float content
+ \def\@fs at mid{%
+ \begingroup\color{algorithmborder}\kern2pt\hrule\kern2pt\endgroup%
+ }%
+ % Define the code after the float content
+ \def\@fs at post{%
+ \begingroup\color{algorithmborder}\kern2pt\hrule\relax\endgroup%
+ }%
+ \let\@fs at iftopcapt\iftrue%
+ }%
+ }%
+}
+
\endinput
+
More information about the tex-live-commits
mailing list.