summaryrefslogtreecommitdiff
path: root/fonts/libertine/latex/biolinum.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/libertine/latex/biolinum.sty')
-rw-r--r--fonts/libertine/latex/biolinum.sty20
1 files changed, 10 insertions, 10 deletions
diff --git a/fonts/libertine/latex/biolinum.sty b/fonts/libertine/latex/biolinum.sty
index be98d463c2..a469c99684 100644
--- a/fonts/libertine/latex/biolinum.sty
+++ b/fonts/libertine/latex/biolinum.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{biolinum}[%
- 2023/11/26 (Bob Tennent) Supports Biolinum fonts for all LaTeX engines.]
+ 2024/04/20 (Bob Tennent) Supports Biolinum fonts for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -243,23 +243,23 @@
% Define \oldstylenums[f] and \liningnums[f]
\iflibertine@otf
- \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}}
- \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}}
+ \DeclareRobustCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}}
+ \DeclareRobustCommand{\liningnums}{\addfontfeatures{Numbers=Lining}}
\else % type1
% \oldstylenums defined by \textcomp?
- \DeclareTextFontCommand{\liningnums}{}
- \DeclareTextFontCommand{\oldstylenumsf}{\biolinumOsF}
- \DeclareTextFontCommand{\liningnumsf}{\biolinumLF}
+ \DeclareRobustCommand{\liningnums}{}
+ \DeclareRobustCommand{\oldstylenumsf}{\biolinumOsF}
+ \DeclareRobustCommand{\liningnumsf}{\biolinumLF}
\fi
% Define \tabularnums[f] and \proportionalnums[f]
\iflibertine@otf
- \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}}
- \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}}
+ \DeclareRobustCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}}
+ \DeclareRobustCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}}
\else % type1
- \DeclareTextFontCommand{\tabularnumsf}{\fontfamily{LinuxBiolinumT-T\biolinum@figurestyle}\selectfont}
- \DeclareTextFontCommand{\proportionalnumsf}{\fontfamily{LinuxBiolinumT-\biolinum@figurestyle}\selectfont}
+ \DeclareRobustCommand{\tabularnumsf}{\fontfamily{LinuxBiolinumT-T\biolinum@figurestyle}\selectfont}
+ \DeclareRobustCommand{\proportionalnumsf}{\fontfamily{LinuxBiolinumT-\biolinum@figurestyle}\selectfont}
\fi
\iflibertine@otf