summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/libertine/biolinum.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/libertine/biolinum.sty')
-rw-r--r--Master/texmf-dist/tex/latex/libertine/biolinum.sty24
1 files changed, 5 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/libertine/biolinum.sty b/Master/texmf-dist/tex/latex/libertine/biolinum.sty
index 6c19fcc8244..a5180d54632 100644
--- a/Master/texmf-dist/tex/latex/libertine/biolinum.sty
+++ b/Master/texmf-dist/tex/latex/libertine/biolinum.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biolinum}[%
- 2014/02/11 (Bob Tennent) Supports Biolinum fonts for all LaTeX engines.]
+ 2020/03/26 (Bob Tennent) Supports Biolinum fonts for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -244,6 +244,8 @@
% Define \oldstylenums[f] and \liningnums[f]
\iflibertine@otf
+ \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}}
+ \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}}
\else % type1
% \oldstylenums defined by \textcomp?
\DeclareTextFontCommand{\liningnums}{}
@@ -254,24 +256,8 @@
% Define \tabularnums[f] and \proportionalnums[f]
\iflibertine@otf
- \newfontfamily\biolinumtabular
- [ Numbers = {Monospaced,\biolinum@figurestyle},
- Scale = \LinuxBiolinumT@scale ,
- UprightFont = *_R,
- ItalicFont = *_RI,
- BoldFont = *_RB,
- BoldItalicFont = *_RBO , % oblique to fake italic
- ] {\biolinum@base}
- \newfontfamily\biolinumproportional
- [ Numbers = {Proportional,\biolinum@figurestyle},
- Scale = \LinuxBiolinumT@scale ,
- UprightFont = *_R,
- ItalicFont = *_RI,
- BoldFont = *_RB,
- BoldItalicFont = *_RBO , % oblique to fake italic
- ] {\biolinum@base}
- \DeclareTextFontCommand{\tabularnumsf}{\biolinumtabular}
- \DeclareTextFontCommand{\proportionalnumsf}{\biolinumproportional}
+ \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}}
+ \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}}
\else % type1
\DeclareTextFontCommand{\tabularnumsf}{\fontfamily{LinuxBiolinumT-T\biolinum@figurestyle}\selectfont}
\DeclareTextFontCommand{\proportionalnumsf}{\fontfamily{LinuxBiolinumT-\biolinum@figurestyle}\selectfont}