diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-12 21:27:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-12 21:27:51 +0000 |
commit | bc586b17cad1faa7785d5765df0889659f314eb0 (patch) | |
tree | d55abc9a1ebaf3a6a056800642ac686410cf7c67 /Master/texmf-dist/tex | |
parent | 27ea9d4734bb9a9be9978f160e4bc82992a8fc0e (diff) |
cormorantgaramond (12apr20)
git-svn-id: svn://tug.org/texlive/trunk@54696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty | 42 |
1 files changed, 5 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty b/Master/texmf-dist/tex/latex/cormorantgaramond/CormorantGaramond.sty index 40e40806dfa..d9f58b16720 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} - [2020/01/06 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.] + [2020/04/12 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -110,42 +110,10 @@ {CormorantGaramond} \providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}} \providecommand\infigures{\addfontfeatures{VerticalPosition=ScientificInferior}} - \newfontfamily\cormorantgaramondOsF - [ Numbers = {\cormorantgaramond@figurealign,OldStyle}, - UprightFont = *-\cormorantgaramond@regstyle , - ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi , - BoldFont = *-\cormorantgaramond@boldstyle , - BoldItalicFont = *-\cormorantgaramond@boldstyle Italic , - ] - {CormorantGaramond} - \newfontfamily\cormorantgaramondLF - [ Numbers = {\cormorantgaramond@figurealign,Lining}, - UprightFont = *-\cormorantgaramond@regstyle , - ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi , - BoldFont = *-\cormorantgaramond@boldstyle , - BoldItalicFont = *-\cormorantgaramond@boldstyle Italic , - ] - {CormorantGaramond} - \newfontfamily\cormorantgaramondtabular - [ Numbers = {Monospaced,\cormorantgaramond@figurestyle}, - UprightFont = *-\cormorantgaramond@regstyle , - ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi , - BoldFont = *-\cormorantgaramond@boldstyle , - BoldItalicFont = *-\cormorantgaramond@boldstyle Italic , - ] - {CormorantGaramond} - \newfontfamily\cormorantgaramondproportional - [ Numbers = {\cormorantgaramond@figurestyle}, - UprightFont = *-\cormorantgaramond@regstyle , - ItalicFont = *-\ifx\cormorantgaramond@regstyle\cormorantgaramond@regular Italic\else\cormorantgaramond@regstyle Italic\fi , - BoldFont = *-\cormorantgaramond@boldstyle , - BoldItalicFont = *-\cormorantgaramond@boldstyle Italic , - ] - {CormorantGaramond} - \DeclareTextFontCommand{\oldstylenums}{\cormorantgaramondOsF} - \DeclareTextFontCommand{\liningnums}{\cormorantgaramondLF} - \DeclareTextFontCommand{\tabularnums}{\cormorantgaramondtabular} - \DeclareTextFontCommand{\proportionalnums}{\cormorantgaramondproportional} + \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 |