diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-21 03:02:01 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-21 03:02:01 +0000 |
commit | edf9632b63615c375b45941052fe190d1e02d887 (patch) | |
tree | 7a0b21d5f743ae93df76572379e93bcff920754d /macros/latex/base/ltfssaxes.dtx | |
parent | 9989fc4235eab4ecacbc0451af9238e1372aeaff (diff) |
CTAN sync 202002210302
Diffstat (limited to 'macros/latex/base/ltfssaxes.dtx')
-rw-r--r-- | macros/latex/base/ltfssaxes.dtx | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/macros/latex/base/ltfssaxes.dtx b/macros/latex/base/ltfssaxes.dtx index fcf304d1fa..1a8dbd9cfb 100644 --- a/macros/latex/base/ltfssaxes.dtx +++ b/macros/latex/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} |