summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/libertine/libertine.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/libertine/libertine.sty')
-rw-r--r--Master/texmf-dist/tex/latex/libertine/libertine.sty58
1 files changed, 9 insertions, 49 deletions
diff --git a/Master/texmf-dist/tex/latex/libertine/libertine.sty b/Master/texmf-dist/tex/latex/libertine/libertine.sty
index d8ecfc6dda9..c124410c0f6 100644
--- a/Master/texmf-dist/tex/latex/libertine/libertine.sty
+++ b/Master/texmf-dist/tex/latex/libertine/libertine.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{libertine}[%
- 2019/07/01 (Bob Tennent) Supports Libertine and Biolinum fonts for all LaTeX engines.]
+ 2020/03/26 (Bob Tennent) Supports Libertine and Biolinum fonts for all LaTeX engines.]
% with (partial) compatibilty with libertine-type1, biolinum-type1,
% libertine, libertine-legacy and libertineotf packages
@@ -471,22 +471,12 @@
\iflibertine@otf
\iflibertine@rm
- \DeclareTextFontCommand{\oldstylenums}{\libertineOsF}
- \DeclareTextFontCommand{\liningnums}{\libertineLF}
+ \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}}
+ \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}}
\fi
\iflibertine@sf
- \DeclareTextFontCommand{\oldstylenumsf}{\biolinumOsF}
- \DeclareTextFontCommand{\liningnumsf}{\biolinumLF}
- \fi
- \iflibertine@rm
- \iflibertine@sf\else % Libertine only
- \DeclareTextFontCommand{\oldstylenumsf}{\sffamily\oldstylenums}
- \DeclareTextFontCommand{\liningnumsf}{\sffamily\liningnums}
- \fi
- \else
- \iflibertine@sf % Biolinum only
- % \oldstynums and \liningnums defined by \fontspec ?
- \fi
+ \DeclareTextFontCommand{\oldstylenumsf}{\addfontfeatures{Numbers=OldStyle}}
+ \DeclareTextFontCommand{\liningnumsf}{\addfontfeatures{Numbers=Lining}}
\fi
\else % type1
\iflibertine@rm
@@ -512,43 +502,13 @@
% Define \tabularnums[f] and \proportionalnums[f]
\iflibertine@otf
- \newfontfamily\libertinetabular
- [ Numbers = {Monospaced,\libertine@figurestyle},
- UprightFont = *_R,
- ItalicFont = *_RI,
- BoldFont = *_\libertine@boldstyle,
- BoldItalicFont = *_\libertine@boldstyle I ,
- ] {\libertine@base}
- \newfontfamily\libertineproportional
- [ Numbers = {Proportional,\libertine@figurestyle},
- UprightFont = *_R,
- ItalicFont = *_RI,
- BoldFont = *_\libertine@boldstyle,
- BoldItalicFont = *_\libertine@boldstyle I,
- ] {\libertine@base}
- \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}
\iflibertine@rm
- \DeclareTextFontCommand{\tabularnums}{\libertinetabular}
- \DeclareTextFontCommand{\proportionalnums}{\libertineproportional}
+ \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}}
+ \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}}
\fi
\iflibertine@sf
- \DeclareTextFontCommand{\tabularnumsf}{\biolinumtabular}
- \DeclareTextFontCommand{\proportionalnumsf}{\biolinumproportional}
+ \DeclareTextFontCommand{\tabularnumsf}{\addfontfeatures{Numbers=Tabular}}
+ \DeclareTextFontCommand{\proportionalnumsf}{\addfontfeatures{Numbers=Proportional}}
\fi
\else % type1
\iflibertine@rm