Skip to content

Commit

Permalink
updated documentation on \updefault and \ulcdefault
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Nov 17, 2020
1 parent 9d6d680 commit 213516d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions base/doc/fntguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
newer NFSS features of 2020}\\
All rights reserved.}

\date{July 2020}
\date{November 2020}

\begin{document}

Expand Down Expand Up @@ -340,22 +340,25 @@ \subsection{Text font attributes}
\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| \\
Expand Down Expand Up @@ -520,8 +523,9 @@ \subsection{Parameters for author commands}
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
Expand Down

0 comments on commit 213516d

Please sign in to comment.