summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/coelacanth/coelacanth.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-14 21:06:20 +0000
committerKarl Berry <karl@freefriends.org>2020-04-14 21:06:20 +0000
commit70ceb95a32e274762041dec44d43760f70c2dd31 (patch)
tree6b7f32a5fa6fedef5d896e1a1281c6f88bb7b903 /Master/texmf-dist/tex/latex/coelacanth/coelacanth.sty
parentafbe98b7e519e8859f76e9b981e1947ac963cd26 (diff)
coelacanth (14apr20)
git-svn-id: svn://tug.org/texlive/trunk@54736 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/coelacanth/coelacanth.sty')
-rw-r--r--Master/texmf-dist/tex/latex/coelacanth/coelacanth.sty42
1 files changed, 5 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/coelacanth/coelacanth.sty b/Master/texmf-dist/tex/latex/coelacanth/coelacanth.sty
index fe53062fd5c..d14257b698b 100644
--- a/Master/texmf-dist/tex/latex/coelacanth/coelacanth.sty
+++ b/Master/texmf-dist/tex/latex/coelacanth/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}