diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/libertine/libertineRoman.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/libertine/libertineRoman.sty | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/libertine/libertineRoman.sty b/Master/texmf-dist/tex/latex/libertine/libertineRoman.sty index 8b559907abd..61e18e045e2 100644 --- a/Master/texmf-dist/tex/latex/libertine/libertineRoman.sty +++ b/Master/texmf-dist/tex/latex/libertine/libertineRoman.sty @@ -1,5 +1,5 @@ \ProvidesPackage{libertineRoman}[% - 2014/03/16 (Bob Tennent) Supports Libertine Roman fonts for all LaTeX engines.] + 2020/03/26 (Bob Tennent) Supports Libertine Roman fonts for all LaTeX engines.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -226,8 +226,8 @@ % Define \oldstylenums[f] and \liningnums[f] \iflibertine@otf - \DeclareTextFontCommand{\oldstylenumsf}{\sffamily\oldstylenums} - \DeclareTextFontCommand{\liningnumsf}{\sffamily\liningnums} + \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} \else % type1 \DeclareTextFontCommand{\oldstylenums}{\libertineOsF} \DeclareTextFontCommand{\liningnums}{\libertineLF} @@ -238,22 +238,8 @@ % 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} - \DeclareTextFontCommand{\tabularnums}{\libertinetabular} - \DeclareTextFontCommand{\proportionalnums}{\libertineproportional} + \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} + \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}} \else % type1 \DeclareTextFontCommand{\tabularnums}{\fontfamily{LinuxLibertineT-T\libertine@figurestyle}\selectfont} \DeclareTextFontCommand{\proportionalnums}{\fontfamily{LinuxLibertineT-\libertine@figurestyle}\selectfont} |