diff options
Diffstat (limited to 'fonts/libertine/latex/libertine.sty')
-rw-r--r-- | fonts/libertine/latex/libertine.sty | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fonts/libertine/latex/libertine.sty b/fonts/libertine/latex/libertine.sty index 6b88a090e7..237abdeada 100644 --- a/fonts/libertine/latex/libertine.sty +++ b/fonts/libertine/latex/libertine.sty @@ -1,5 +1,5 @@ \ProvidesPackage{libertine}[% - 2022/09/12 (Bob Tennent) Supports Libertine and Biolinum fonts for all LaTeX engines.] + 2023/11/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 @@ -381,6 +381,8 @@ BoldFont = *_RB , BoldItalicFont = *_RBO , % oblique to fake italic ] {\biolinum@base} + \providecommand\sufigures{\addfontfeatures{VerticalPosition=Superior}} + \providecommand\infigures{\addfontfeatures{VerticalPosition=ScientificInferior}} \providecommand\useosf{% \edef\libertine@figurestyle{OldStyle}\edef\biolinum@figurestyle{OldStyle} \defaultfontfeatures{ @@ -463,8 +465,8 @@ \iflibertine@sf \renewcommand*\sfdefault{LinuxBiolinumT-OsF}\fi} \fi -\DeclareTextFontCommand{\textsu}{\sufigures} -\let\textsuperior\textsu +\DeclareTextFontCommand{\textsup}{\sufigures} +\let\textsuperior\textsup % Define \oldstylenums[f] and \liningnums[f] @@ -547,6 +549,8 @@ \DeclareRobustCommand*\libertineInitialGlyph[1]{\@nameuse{LinLibertine_I@#1}} \input{LKey} +\DeclareTextFontCommand{\textsup}{\sufigures} + \else %type1 \def\lib@ini{LinLibertine_I} |