diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty b/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty index b633978943b..0b89b90d0c5 100644 --- a/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty +++ b/Master/texmf-dist/tex/latex/ysabeau/ysabeau.sty @@ -1,6 +1,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ysabeau} - [2024/01/19 Style file for Ysabeau fonts (NMH).] +\def\fileversion{1.3} +\def\filedate{2024/10/26} +\ProvidesPackage{ysabeau}[\filedate\space v\fileversion\space Ysabeau fonts for LaTeX (NMH).] % Large portions of code was stolen from Michael Sharpe (cochineal.sty). Credits for him. @@ -143,6 +144,7 @@ \@nomath\osfstyle\relax \fontfamily{Ysabeau-OsF}\selectfont % }% Oldstyle Figures +\let\oldstylenums\osfstyle % Added 2024/10/22 \DeclareRobustCommand{\tosfstyle}{% \@nomath\tosfstyle\relax \fontfamily{Ysabeau-TOsF}\selectfont % @@ -181,14 +183,14 @@ OsF}\fontshape{sc}\selectfont #1}% \let\textsu\textsup \let\textsuperior\textsup \let\supstyle\supfigures % Add by me - \let\@oldtextsuperscript\textsuperscript - \def\textsuperscript{\@ifstar\@oldtextsuperscript\textsup} + %\let\@oldtextsuperscript\textsuperscript % clash with some serif fonts + %\def\textsuperscript{\@ifstar\@oldtextsuperscript\textsup} % clash with some serif fonts \def\@makefnmark{% \mbox{\footnotemarkfont\textsuperscript{\@thefnmark}}} \@ifundefined{ftntm@font}% {\let\footnotemarkfont\normalfont}% - {\let\footnotemarkfont\ftntm@font} - + {\let\footnotemarkfont\ftntm@font} + \fa@naming@exception{figures}{{inferior}{proportional}}{Inf} \fa@naming@exception{figures}{{inferior}{tabular}}{Inf} \def\inffigures{\@nomath\inffigures @@ -198,8 +200,8 @@ OsF}\fontshape{sc}\selectfont #1}% \let\textin\textinf \let\textinferior\textinf \let\infstyle\inffigures % Add by me - \let\@oldtextsubscript\textsubscript - \def\textsubscript{\@ifstar\@oldtextsubscript\textinf} + %\let\@oldtextsubscript\textsubscript % clash with some serif fonts + %\def\textsubscript{\@ifstar\@oldtextsubscript\textinf} % clash with some serif fonts \fa@naming@exception{figures}{{numerators}{proportional}}{Numr} %\fa@naming@exception{figures}{{numerator}{proportional}}{Numr} |