diff options
author | Norbert Preining <norbert@preining.info> | 2023-12-17 03:00:48 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-12-17 03:00:48 +0000 |
commit | 191e0ab40b0bc070312603532904889c52a7b17c (patch) | |
tree | b264f1b9dd55269d0fe630c78ff164ac53f9f17f /fonts/oldstandard/latex | |
parent | cf11d08f6fe4d61a3da648d820601e3fca67d8d4 (diff) |
CTAN sync 202312170300
Diffstat (limited to 'fonts/oldstandard/latex')
-rw-r--r-- | fonts/oldstandard/latex/OldStandard.sty | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/fonts/oldstandard/latex/OldStandard.sty b/fonts/oldstandard/latex/OldStandard.sty index e5d9e53b3a..e36f36f9c7 100644 --- a/fonts/oldstandard/latex/OldStandard.sty +++ b/fonts/oldstandard/latex/OldStandard.sty @@ -1,6 +1,6 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{OldStandard} - [2023/12/15 (Bob Tennent and autoinst) Style file for OldStandard fonts.] + [2023/12/16 (Bob Tennent and autoinst) Style file for OldStandard fonts.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} @@ -102,6 +102,9 @@ \providecommand\infigures{\addfontfeatures{VerticalPosition=Inferior}} \DeclareTextFontCommand{\tabularnums}{\addfontfeatures{Numbers=Tabular}} \DeclareTextFontCommand{\proportionalnums}{\addfontfeatures{Numbers=Proportional}} + \DeclareTextFontCommand{\oldstylenums}{\addfontfeatures{Numbers=OldStyle}} + \DeclareTextFontCommand{\liningnums}{\addfontfeatures{Numbers=Lining}} + \else % type1 @@ -129,7 +132,18 @@ \DeclareTextFontCommand{\textsu}{\sufigures} \DeclareTextFontCommand{\textinf}{\infigures} -\def\oldstandardlgr{\fontencoding{LGR}\fontfamily{OldStandard-TLF}\selectfont} +\ifoldstandard@lining + \def\oldstandardlgr@figurestyle{LF} +\else + \def\oldstandardlgr@figurestyle{OsF} +\fi +\ifoldstandard@tabular + \def\oldstandardlgr@figurealign{T} +\else + \def\oldstandardlgr@figurealign{} +\fi +\def\oldstandardlgr{\fontencoding{LGR}\fontfamily{OldStandard-\oldstandardlgr@figurealign\oldstandardlgr@figurestyle}\selectfont} + \ifoldstandard@otf \defaultfontfeatures{} |