summaryrefslogtreecommitdiff
path: root/fonts/cormorantgaramond/latex/CormorantGaramond.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/cormorantgaramond/latex/CormorantGaramond.sty')
-rw-r--r--fonts/cormorantgaramond/latex/CormorantGaramond.sty18
1 files changed, 9 insertions, 9 deletions
diff --git a/fonts/cormorantgaramond/latex/CormorantGaramond.sty b/fonts/cormorantgaramond/latex/CormorantGaramond.sty
index 2b46da5c21..8fc0fe4727 100644
--- a/fonts/cormorantgaramond/latex/CormorantGaramond.sty
+++ b/fonts/cormorantgaramond/latex/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