diff options
Diffstat (limited to 'fonts/coelacanth/latex/coelacanth.sty')
-rw-r--r-- | fonts/coelacanth/latex/coelacanth.sty | 42 |
1 files changed, 5 insertions, 37 deletions
diff --git a/fonts/coelacanth/latex/coelacanth.sty b/fonts/coelacanth/latex/coelacanth.sty index fe53062fd5..d14257b698 100644 --- a/fonts/coelacanth/latex/coelacanth.sty +++ b/fonts/coelacanth/latex/coelacanth.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{coelacanth} - [2019/10/15 (Bob Tennent and autoinst) Style file for Coelacanth fonts.] + [2020/04/13 (Bob Tennent and autoinst) Style file for Coelacanth fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -139,24 +139,8 @@ BoldItalicFont = *Italic , ] {Coelacanth} - \newfontfamily\coelacanthOsF - [ Numbers = {\coelacanth@figurealign,OldStyle}, - UprightFont = *\coelacanth@regularstyle , - ItalicFont = *Italic , - BoldFont = *\coelacanth@boldstyle , - BoldItalicFont = *Italic , - ] - {Coelacanth} - \newfontfamily\coelacanthLF - [ Numbers = {\coelacanth@figurealign,Lining}, - UprightFont = *\coelacanth@regularstyle , - ItalicFont = *Italic , - BoldFont = *\coelacanth@boldstyle , - BoldItalicFont = *Italic , - ] - {Coelacanth} - \DeclareTextFontCommand{\oldstylenums}{\coelacanthOsF} - \DeclareTextFontCommand{\liningnums}{\coelacanthLF} + \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} \else % type1 @@ -170,24 +154,8 @@ \fi \ifcoelacanth@otf - \newfontfamily\coelacanthtabular - [ Numbers = {Monospaced,\coelacanth@figurestyle}, - UprightFont = *\coelacanth@regularstyle , - ItalicFont = *Italic , - BoldFont = *\coelacanth@boldstyle , - BoldItalicFont = *Italic , - ] - {Coelacanth} - \newfontfamily\coelacanthproportional - [ Numbers = {Proportional,\coelacanth@figurestyle}, - UprightFont = *\coelacanth@regularstyle , - ItalicFont = *Italic , - BoldFont = *\coelacanth@boldstyle , - BoldItalicFont = *Italic , - ] - {Coelacanth} - \DeclareTextFontCommand{\tabularnums}{\coelacanthtabular} - \DeclareTextFontCommand{\proportionalnums}{\coelacanthproportional} + \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} + \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}} \else % type1 \DeclareTextFontCommand{\tabularnums}{\fontfamily{Coelacanth-T\coelacanth@figurestyle}\selectfont} \DeclareTextFontCommand{\proportionalnums}{\fontfamily{Coelacanth-\coelacanth@figurestyle}\selectfont} |