[latex3-commits] [git/LaTeX3-latex3-latex2e] nfssaxes: more on \swshape (e4eb7c43)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Oct 17 11:51:18 CEST 2019


Repository : https://github.com/latex3/latex2e
On branch  : nfssaxes
Link       : https://github.com/latex3/latex2e/commit/e4eb7c4314d52a1176dc38c145d2dcc6098eb886

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

commit e4eb7c4314d52a1176dc38c145d2dcc6098eb886
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Oct 17 11:51:18 2019 +0200

    more on \swshape


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

e4eb7c4314d52a1176dc38c145d2dcc6098eb886
 base/nfssaxes.tex | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)

diff --git a/base/nfssaxes.tex b/base/nfssaxes.tex
index 535b7086..8423c157 100644
--- a/base/nfssaxes.tex
+++ b/base/nfssaxes.tex
@@ -963,6 +963,9 @@
   \protected\def\ulcshape
           {\not at math@alphabet\ulcshape\relax
            \fontshape{ulc}\selectfont}%
+  \protected\swshape
+          {\not at math@alphabet\swshape\relax
+           \fontshape\swdefault\selectfont}%
 }
 %    \end{macrocode}
 %
@@ -975,10 +978,35 @@
 %\DeclareFontShapeChangeRule {sc}{sw}  {scsw}   {sc}
 %   ...
 %    \end{macrocode}
-% Again that should happen directly in \pkg{fontaxes} or maybe
-% directly in the kernel (even though there are currently only a few fonts
-% that support swash letters or ``spaced small capitals'').
+% For \cs{swshape} I have already done that above (even though there are
+% currently only a few fonts
+% that support swash letters). For  ``spaced small capitals'' there a
+% none among the free fonts. Nevertheless, perhaps that should also be integrated
+% in the kernel so that the existing \pkg{fontaxes} support continues to
+% work in full.
 %
+%
+%
+% \subsubsection{Packages that need checking or updating}
+%
+% These package use \cs{fontprimaryshape}
+%\begin{verbatim}
+%./baskervaldx/Baskervaldx.sty
+%./baskervillef/baskervillef.sty
+%./ebgaramond/ebgaramond.sty
+%./fontaxes/fontaxes.sty
+%\end{verbatim}
+%
+%
+% These package use \cs{fontsecondaryshape}
+%\begin{verbatim}
+%./baskervaldx/Baskervaldx.sty
+%./inriafonts/InriaSans.sty
+%./inriafonts/InriaSerif.sty
+%./baskervillef/baskervillef.sty
+%./ebgaramond/ebgaramond.sty
+%./fontaxes/fontaxes.sty
+%\end{verbatim}
 
 
 





More information about the latex3-commits mailing list