[latex3-commits] [git/LaTeX3-latex3-latex2e] master: updated documentation on \updefault and \ulcdefault (213516d9)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Nov 17 10:01:08 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : master
Link       : https://github.com/latex3/latex2e/commit/213516d9ca91667b02079dce75bdbc096eddd28f

>---------------------------------------------------------------

commit 213516d9ca91667b02079dce75bdbc096eddd28f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Nov 17 10:01:08 2020 +0100

    updated documentation on \updefault and \ulcdefault


>---------------------------------------------------------------

213516d9ca91667b02079dce75bdbc096eddd28f
 base/doc/fntguide.tex | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/base/doc/fntguide.tex b/base/doc/fntguide.tex
index b6576a02..7e0928c5 100644
--- a/base/doc/fntguide.tex
+++ b/base/doc/fntguide.tex
@@ -42,7 +42,7 @@
     newer NFSS features of 2020}\\
    All rights reserved.}
 
-\date{July 2020}
+\date{November 2020}
 
 \begin{document}
 
@@ -340,22 +340,25 @@ box warning, for example:
 \end{verbatim}
 The author commands for fonts set the five attributes:
 \begin{center}
+  \hspace*{-1em}%
   \begin{tabular}{rcl}
     \emph{Author command} & \emph{Attribute}
                           & \emph{Value in} |article| \emph{class} \\
     |\textnormal{..}| or |\normalfont| & family & |cmr|     \\
+                                       & series & |m|       \\
+                                       & shape  & |n|       \\[1pt]
     |\textrm{..}| or |\rmfamily|       & family & |cmr|     \\
     |\textsf{..}| or |\sffamily|       & family & |cmss|    \\
     |\texttt{..}| or |\ttfamily|       & family & |cmtt|    \\
     |\textmd{..}| or |\mdseries|       & series & |m|       \\
-    |\textbf{..}| or |\bfseries|       & series & |bx|      \\
-    |\textup{..}| or |\upshape|        & shape  & |n|       \\
+    |\textbf{..}| or |\bfseries|       & series & |bx|      \\[1pt]
     |\textit{..}| or |\itshape|        & shape  & |it|      \\
     |\textsl{..}| or |\slshape|        & shape  & |sl|      \\
     |\textsc{..}| or |\scshape|        & shape  & |sc|      \\
     |\textssc{..}| or |\sscshape|      & shape  & |ssc|     \\
     |\textsw{..}| or |\swshape|        & shape  & |sw|      \\
-    |\textulc{..}| or |\ulcshape|      & shape  & |ulc|     \\
+    |\textulc{..}| or |\ulcshape|      & shape  & |ulc| (virtual) $\to$ |n|, |it|, |sl| or |ssc| \\
+    |\textup{..}| or |\upshape|        & shape  & |up|  (virtual) $\to$ |n| or |sc|    \\[1pt]
     |\tiny|                            & size   & |5pt|     \\
     |\scriptsize|                      & size   & |7pt|     \\
     |\footnotesize|                    & size   & |8pt|     \\
@@ -520,8 +523,9 @@ and the |ssub| size function, see Section~\ref{sec:sizefunct}.
 The shapes selected by |\textit|, |\itshape|, |\textsl|, |\slshape|,
 |\textsc|, |\scshape|, |\textssc|, |\sscshape|, |\textsw|, |\swshape|,
 |\textulc|, |\ulcshape|, |\textup| and |\upshape|.  By default these are
-|it|, |sl|, |sc|, |ssc|, |sw|, |ulc| and |n|.  |ulc| is special here
-since it is a virtual one; it doesn't exist as a real shape.  The
+|it|, |sl|, |sc|, |ssc|, |sw|, |ulc| and |up|.  Note that |ulc| and |up| are special here
+because they are virtual shapes; they don't exist as real shape values. Instead they alter
+the existing shape value based on rules, i.e., the result depends on context. The
 respective macros |\textulc| or |\ulcshape| change small capitals back
 to upper/lower case but will not change the font with respect to
 italics, slanted or swash.  |\upshape| or |\textup| in contrast will





More information about the latex3-commits mailing list.