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/doc/latex/upmethodology | |
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/doc/latex/upmethodology')
-rw-r--r-- | Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.pdf | bin | 323938 -> 326776 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/upmethodology/upmethodology-doc.tex | 48 |
2 files changed, 48 insertions, 0 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: |