diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty index 783c3f1d3da..32ed9bc0d4b 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty @@ -2,7 +2,7 @@ \ProvidesPackage{fontsetup}[2019/12/20 Easy font setup by Antonis Tsolomitis] \typeout{fontsetup: Easy font setup by Antonis Tsolomitis} -\chardef\fontsetupdefault=0 % TODO fork cm-unicode or complete lm fonts +\chardef\fontsetupdefault=0 % \chardef\fontsetupgfsartemisia=1 \chardef\fontsetupgfsdidot=2 \chardef\fontsetupgfsdidotclassic=3 @@ -20,6 +20,7 @@ \chardef\fontsetupminion=15 % Install MinionPro and provided fspMinionGreekSmallCaps as a system font. \chardef\fontsetupneoeuler=16 \chardef\fontsetuplibertinus=17 +\chardef\fontsetupolddefault=18 % old (thin) CMR \chardef\fontsetupfont\fontsetupdefault \DeclareOption{default}{\chardef\fontsetupfont\fontsetupdefault} @@ -40,6 +41,7 @@ \DeclareOption{minion}{\chardef\fontsetupfont\fontsetupminion} \DeclareOption{neoeuler}{\chardef\fontsetupfont\fontsetupneoeuler} \DeclareOption{libertinus}{\chardef\fontsetupfont\fontsetuplibertinus} +\DeclareOption{olddefault}{\chardef\fontsetupfont\fontsetupolddefault} \DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}} \ProcessOptions @@ -59,7 +61,7 @@ \ifthenelse{\boolean{TeXUnicode}}{% %The user runs unicode engine \ifcase\fontsetupfont - \RequirePackage{fspdefaultfontsot} + \RequirePackage{fspdefault} \or \RequirePackage{fspgfsartemisiaot} \or @@ -95,6 +97,8 @@ \RequirePackage{fspneoeulerot} \or \RequirePackage{libertinus-otf} +\or + \RequirePackage{fspolddefault} \fi }{%the user runs 8bit engine \relax} |