diff options
Diffstat (limited to 'fonts/oldstandard')
-rw-r--r-- | fonts/oldstandard/README | 4 | ||||
-rw-r--r-- | fonts/oldstandard/latex/OldStandard.sty | 18 |
2 files changed, 18 insertions, 4 deletions
diff --git a/fonts/oldstandard/README b/fonts/oldstandard/README index 817571086f..1d865bd0be 100644 --- a/fonts/oldstandard/README +++ b/fonts/oldstandard/README @@ -1,5 +1,5 @@ This is the README for the OldStandard package, version 2.7, -release 2023-12-15. +release 2023-12-16. This package provides the Old Standard family of fonts designed by Alexey Kryukov and revised by Robert Alessi and @@ -112,7 +112,7 @@ option. Options scaled=<number> or scale=<number> may be used to scale the fonts. -To use OldStandard-Math, see oldstandard-math.tex in the doc directory. +To use OldStandard-Math, see oldstandard-mathtest.tex in the doc directory. The text fonts are licensed under the SIL Open Font License, version 1.1; the text may be found in the doc directory. 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{} |