diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/cormorantgaramond')
-rw-r--r-- | Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty b/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty index 2b46da5c216..8fc0fe4727c 100644 --- a/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty +++ b/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{CormorantGaramond} - [2024/04/20 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.] + [2024/04/23 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -101,10 +101,10 @@ {CormorantGaramond} \providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}} \providecommand\infigures{\addfontfeatures{VerticalPosition=ScientificInferior}} - \DeclareRobustCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} - \DeclareRobustCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} - \DeclareRobustCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} - \DeclareRobustCommand{\proportionalnums}{\addfontfeatures{Numbers=Lining}} % pnum not supported + \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} + \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} + \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Lining}} % pnum not supported \else % type1 @@ -120,10 +120,10 @@ \fa@naming@exception{figures}{{inferior}{tabular}}{Inf} \def\infigures{\@nomath\infigures\fontfigurestyle{inferior}\selectfont} - \DeclareRobustCommand{\oldstylenums}{\fontfamily{CormorantGaramond-\cormorantgaramond@figurealign OsF}\selectfont} - \DeclareRobustCommand{\liningnums}{\fontfamily{CormorantGaramond-\cormorantgaramond@figurealign LF}\selectfont} - \DeclareRobustCommand{\tabularnums}{\fontfamily{CormorantGaramond-T\cormorantgaramond@figurestyle}\selectfont} - \DeclareRobustCommand{\proportionalnums}{\fontfamily{CormorantGaramond-\cormorantgaramond@figurestyle}\selectfont} + \DeclareTextFontCommand{\oldstylenums}{\fontfamily{CormorantGaramond-\cormorantgaramond@figurealign OsF}\selectfont} + \DeclareTextFontCommand{\liningnums}{\fontfamily{CormorantGaramond-\cormorantgaramond@figurealign LF}\selectfont} + \DeclareTextFontCommand{\tabularnums}{\fontfamily{CormorantGaramond-T\cormorantgaramond@figurestyle}\selectfont} + \DeclareTextFontCommand{\proportionalnums}{\fontfamily{CormorantGaramond-\cormorantgaramond@figurestyle}\selectfont} \fi |