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.sty12
1 files changed, 1 insertions, 11 deletions
diff --git a/fonts/cormorantgaramond/latex/CormorantGaramond.sty b/fonts/cormorantgaramond/latex/CormorantGaramond.sty
index d9f58b1672..5a2742fd5e 100644
--- a/fonts/cormorantgaramond/latex/CormorantGaramond.sty
+++ b/fonts/cormorantgaramond/latex/CormorantGaramond.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{CormorantGaramond}
- [2020/04/12 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.]
+ [2022/09/16 (Bob Tennent and autoinst) Style file for Cormorant Garamond fonts.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -86,7 +86,6 @@
\fi
\ifcormorantgaramond@ttf
- \ifxetex\XeTeXtracingfonts=1\fi
\defaultfontfeatures{
Ligatures = TeX ,
Scale = \CormorantGaramond@scale ,
@@ -100,14 +99,6 @@
BoldItalicFont = *-\cormorantgaramond@boldstyle Italic ,
]
{CormorantGaramond}
- \newfontfamily\cormorantgaramond
- [ Numbers = {\cormorantgaramond@figurealign,\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}
\providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}}
\providecommand\infigures{\addfontfeatures{VerticalPosition=ScientificInferior}}
\DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}}
@@ -119,7 +110,6 @@
\def\cormorantgaramond@family{CormorantGaramond-\cormorantgaramond@figurealign\cormorantgaramond@figurestyle}
\renewcommand*\rmdefault{\cormorantgaramond@family}
- \newcommand*\cormorantgaramond{\fontfamily{\cormorantgaramond@family}\selectfont}
\edef\seriesdefault{\mdseries@rm}
\fa@naming@exception{figures}{{superior}{proportional}}{Sup}