summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-24 20:12:48 +0000
committerKarl Berry <karl@freefriends.org>2024-04-24 20:12:48 +0000
commit6615d5589fb6aa65171015a48fea4893ea81100c (patch)
tree596a944eafe602b7e7227373fb4b4e9f4618e55b
parentfc6726a875a4e250c0ed24bb91eff6952e99b8fb (diff)
cormorantgaramond (24apr24)
git-svn-id: svn://tug.org/texlive/trunk@71057 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/fonts/cormorantgaramond/README6
-rw-r--r--Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty18
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 6657cba846e..43d1164f838 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 (2024-04-20).
+version 3.601 (2024-04-23).
This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX
support for the Cormorant Garamond family of fonts, designed by
@@ -55,9 +55,9 @@ Options scaled=<number> or scale=<number> 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 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