From ef6e5a0e1298976f0c96b9e0cc8c9159dc52712c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 20 Apr 2024 19:22:16 +0000 Subject: cormorantgaramond (20apr24) git-svn-id: svn://tug.org/texlive/trunk@71011 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/cormorantgaramond/README | 6 +++--- .../tex/latex/cormorantgaramond/CormorantGaramond.sty | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Master/texmf-dist/doc/fonts/cormorantgaramond/README b/Master/texmf-dist/doc/fonts/cormorantgaramond/README index 501950163e8..6657cba846e 100644 --- a/Master/texmf-dist/doc/fonts/cormorantgaramond/README +++ b/Master/texmf-dist/doc/fonts/cormorantgaramond/README @@ -1,5 +1,5 @@ This is the README for the cormorantgaramond package, -version 3.601 (2022-09-16). +version 3.601 (2024-04-20). This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support for the Cormorant Garamond family of fonts, designed by @@ -55,9 +55,9 @@ Options scaled= or scale= may be used to adjust fontsizes. The type1 option may be used by xelatex or lualatex users who prefer to use type1 fonts or to avoid fontspec. -Commands \oldstylenums{...} and \liningnums{...} are defined to allow +Commands \oldstylenums and \liningnums are defined to allow for local use of old-style figures or lining figures, respectively. -Similarly, \tabularnums{...} and \proportionalnums{...} allow for local +Similarly, \tabularnums and \proportionalnums allow for local use of monospaced or varying-width figures, respectively. Superior numbers (for footnote markers) are available diff --git a/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty b/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty index 5a2742fd5ef..2b46da5c216 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} - [2022/09/16 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.] + [2024/04/20 (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}} - \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} - \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} - \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} - \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Lining}} % pnum not supported + \DeclareRobustCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareRobustCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} + \DeclareRobustCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} + \DeclareRobustCommand{\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} - \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} + \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} \fi -- cgit v1.2.3