diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-24 03:01:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-24 03:01:26 +0000 |
commit | 33f4ae660b866731387e4c21e528aaa283009d6c (patch) | |
tree | c1f1449987542917a209c7e108a1a48f81fc70e3 /macros/latex-dev/base/ltfssaxes.dtx | |
parent | 0908ef0004729f1b45b8d9687656f2f92fc122ae (diff) |
CTAN sync 202002240301
Diffstat (limited to 'macros/latex-dev/base/ltfssaxes.dtx')
-rw-r--r-- | macros/latex-dev/base/ltfssaxes.dtx | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/macros/latex-dev/base/ltfssaxes.dtx b/macros/latex-dev/base/ltfssaxes.dtx index fcf304d1fa..1a8dbd9cfb 100644 --- a/macros/latex-dev/base/ltfssaxes.dtx +++ b/macros/latex-dev/base/ltfssaxes.dtx @@ -35,7 +35,7 @@ % % \ProvidesFile{ltfssaxes.dtx} - [2020/02/05 v1.0b LaTeX Kernel (NFSS Axes handing)] + [2020/02/18 v1.0c LaTeX Kernel (NFSS Axes handing)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -682,14 +682,25 @@ % \subsection{Changing to a new series} % +% +% \begin{macro}{\if@forced@series} +% If the series gets forced we need to know that fact later on. +% \changes{v1.0c}{2020/02/10}{Switch \cs{if@forced@series} added} +% \begin{macrocode} +\newif\if@forced@series +% \end{macrocode} +% \end{macro} +% +% % \begin{macro}{\fontseriesforce} % To change unconditionally to a new series you can use % \cs{fontseriesforce}. If course, if the series doesn't exist for % the current family substitution still happens, but there is not % dependency on the current series. +% \changes{v1.0c}{2020/02/10}{Switch \cs{if@forced@series} added} % \begin{macrocode} -\DeclareRobustCommand\fontseriesforce[1]{\edef\f@series{#1}} +\DeclareRobustCommand\fontseriesforce[1]{\@forced@seriestrue\edef\f@series{#1}} % \end{macrocode} % \end{macro} % @@ -700,8 +711,9 @@ % expanded value in \cs{f@series}. Now we do a bit more processing % and look up the final value in the font series data base. This is % done by \cs{merge@font@series}. +% \changes{v1.0c}{2020/02/10}{Switch \cs{if@forced@series} added} % \begin{macrocode} -\DeclareRobustCommand\fontseries[1]{\merge@font@series{#1}} +\DeclareRobustCommand\fontseries[1]{\@forced@seriesfalse\merge@font@series{#1}} % \end{macrocode} % \end{macro} |