[latex3-commits] [git/LaTeX3-latex3-latex2e] ltnews36: small rewrite/addition (bd4ecd74)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun Oct 30 18:17:08 CET 2022
Repository : https://github.com/latex3/latex2e
On branch : ltnews36
Link : https://github.com/latex3/latex2e/commit/bd4ecd74265b328100dc2f44b876ef71397f8c64
>---------------------------------------------------------------
commit bd4ecd74265b328100dc2f44b876ef71397f8c64
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Oct 30 18:17:08 2022 +0100
small rewrite/addition
>---------------------------------------------------------------
bd4ecd74265b328100dc2f44b876ef71397f8c64
base/doc/ltnews36.tex | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/base/doc/ltnews36.tex b/base/doc/ltnews36.tex
index a6018e3a..d6df801d 100644
--- a/base/doc/ltnews36.tex
+++ b/base/doc/ltnews36.tex
@@ -249,18 +249,20 @@ small caps and italic/slanted. The EC fonts contain slanted small caps fonts
but using them required the loading of an external package. Suitable font definitions
have now been added to \pkg{t1cmd.fd} and so from now on
\begin{verbatim}
- \textsc{\textsl{slanted small caps}};
- \textsc{\textit{italic small caps}};
+\usepackage[T1]{fontenc}
+...
+ \textsc{\textsl{Slanted Small Caps}};
+ \textsc{\textit{Italic Small Caps}};
\bfseries
- \textsc{\textsl{bold slanted small caps}};
- \textsc{\textit{bold italic small caps}}
+ \textsc{\textsl{Bold Slanted Small Caps}};
+ \textsc{\textit{Bold Italic Small Caps}}.
\end{verbatim}
will give the expected result: {\fontfamily{cmr}
-\textsc{\textsl{slanted small caps}}; \textsc{\textit{italic small caps}};
+\textsc{\textsl{Slanted Small Caps}}; \textsc{\textit{Italic Small Caps}};
\bfseries
-\textsc{\textsl{bold slanted small caps}}; \textsc{\textit{bold italic small caps}}}.
+\textsc{\textsl{Bold Slanted Small Caps}}; \textsc{\textit{Bold Italic Small Caps}}}.
-Given that the fonts do not have real italic small caps but only
+Given that the Computer Modern fonts in \texttt{T1} do not have real italic small caps but only
slanted small caps, the latter is substituted for the former, which is
why above both work but you see no difference between the two (and in the log you get a
substitution warning for the \cs{textit}\cs{textsc} shape combination).
More information about the latex3-commits
mailing list.