diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-06 21:12:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-06 21:12:41 +0000 |
commit | 226300d10a48730fc65650a50b0728203c7f620c (patch) | |
tree | 65a564ae369c92bc0df0db8e3972567787d33062 /Master/texmf-dist/tex/latex/fontsetup | |
parent | b456821661e7f67a3ce4bcf9d3085199f920a3e3 (diff) |
fontsetup (6mar22)
git-svn-id: svn://tug.org/texlive/trunk@62477 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsetup')
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty | 13 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.sty | 22 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fspxcharter.sty | 28 |
3 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty index 9fbafedcc96..603a0d8d3bf 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty @@ -32,6 +32,8 @@ \chardef\fontsetupolddefault=18 % old (thin) CMR \chardef\fontsetupconcrete=19 \chardef\fontsetuptalos=20 +\chardef\fontsetupoldstandard=21 +\chardef\fontsetupxcharter=22 \chardef\fontsetupfont\fontsetupdefault \DeclareOption{default}{\chardef\fontsetupfont\fontsetupdefault} @@ -55,6 +57,8 @@ \DeclareOption{olddefault}{\chardef\fontsetupfont\fontsetupolddefault} \DeclareOption{concrete}{\chardef\fontsetupfont\fontsetupconcrete} \DeclareOption{talos}{\chardef\fontsetupfont\fontsetuptalos} +\DeclareOption{oldstandard}{\chardef\fontsetupfont\fontsetupoldstandard} +\DeclareOption{xcharter}{\chardef\fontsetupfont\fontsetupxcharter} \DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}} % \newif\if@upint @@ -151,6 +155,15 @@ \RequirePackage{fspconcrete} \or \RequirePackage{fsptalos} +\or +\RequirePackage{fspoldstandard} +\or +\RequirePackage{fspxcharter} +\if@upint + \setmathfont[StylisticSet=3]{XCharter-Math.otf} +\else + \relax +\fi %%% % %%% diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.sty b/Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.sty new file mode 100644 index 00000000000..5d7347136e5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.sty @@ -0,0 +1,22 @@ +\RequirePackage{fontspec} +\defaultfontfeatures{Ligatures=TeX} + +\setmainfont[% +ExternalLocation=/home/atsol/texmf/fonts/sfd/ATsolomitis/OldStandard-Math/, +ItalicFont=OldStandard-Italic.otf, +BoldFont=OldStandard-Bold.otf, +BoldItalicFont=OldStandard-BoldItalic.otf, +SmallCapsFeatures={Numbers=OldStyle}]{OldStandard-Regular.otf} + + + +\RequirePackage{unicode-math} +%\setmathfont{Garamond-Math.otf} +\setmathfont[ExternalLocation=/home/atsol/texmf/fonts/sfd/ATsolomitis/OldStandard-Math/]{OldStandard-Math.otf} +%\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{OldStandard-Regular.otf} +%\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{OldStandard-Bold.otf} +%\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{OldStandard-Italic.otf} +%\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{OldStandard-BoldItalic.otf} + + +\endinput diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspxcharter.sty b/Master/texmf-dist/tex/latex/fontsetup/fspxcharter.sty new file mode 100644 index 00000000000..9267191eab7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/fspxcharter.sty @@ -0,0 +1,28 @@ +\RequirePackage{fontspec} +\defaultfontfeatures{Ligatures=TeX} + +\RequirePackage{xcharter-otf} + +\setsansfont[% +ItalicFont=CabinCondensed-ItalicCondensed.otf,% +BoldFont=CabinCondensed-SemiBoldCondensed.otf,% +BoldItalicFont=CabinCondensed-SemiboldItalicCondensed.otf,% +SmallCapsFeatures={Numbers=OldStyle},% +SlantedFont=CabinCondensed-RegularCondensed.otf,% +SlantedFeatures={FakeSlant=0.25}, +BoldSlantedFont=CabinCondensed-SemiBoldCondensed.otf,% +BoldSlantedFeatures={FakeSlant=0.25}, +Scale=MatchLowercase +]{CabinCondensed-RegularCondensed.otf} + +\setmonofont[% +BoldFont=Inconsolatazi4-Bold.otf,% +SlantedFont=Inconsolatazi4-Regular.otf,% +SlantedFeatures={FakeSlant=0.25}, +BoldSlantedFont=,% +BoldSlantedFeatures={FakeSlant=0.25}, +SmallCapsFeatures={Numbers=OldStyle}, +Scale=MatchLowercase]{Inconsolatazi4-Regular.otf} + + +\endinput |