diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-31 21:15:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-31 21:15:02 +0000 |
commit | a7ba2e65a2b908299f204a1d455c7f2c1c991a00 (patch) | |
tree | 101ef49977eadcbcd701b19783662d8aff34f23d /Master/texmf-dist/tex | |
parent | 1d444b81d53d885a68ef7096605fc3bf3dba5fe8 (diff) |
fontsetup (31jan22)
git-svn-id: svn://tug.org/texlive/trunk@61826 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty | 11 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fspconcrete.sty | 33 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/fontsetup/fsptalos.sty | 33 |
3 files changed, 77 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty index f8bf12c516c..9fbafedcc96 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty @@ -30,6 +30,8 @@ \chardef\fontsetupneoeuler=16 \chardef\fontsetuplibertinus=17 \chardef\fontsetupolddefault=18 % old (thin) CMR +\chardef\fontsetupconcrete=19 +\chardef\fontsetuptalos=20 \chardef\fontsetupfont\fontsetupdefault \DeclareOption{default}{\chardef\fontsetupfont\fontsetupdefault} @@ -51,6 +53,8 @@ \DeclareOption{neoeuler}{\chardef\fontsetupfont\fontsetupneoeuler} \DeclareOption{libertinus}{\chardef\fontsetupfont\fontsetuplibertinus} \DeclareOption{olddefault}{\chardef\fontsetupfont\fontsetupolddefault} +\DeclareOption{concrete}{\chardef\fontsetupfont\fontsetupconcrete} +\DeclareOption{talos}{\chardef\fontsetupfont\fontsetuptalos} \DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}} % \newif\if@upint @@ -143,6 +147,13 @@ \setmathfont{NewCMMath-Regular.otf} \fi \fi +\or + \RequirePackage{fspconcrete} +\or + \RequirePackage{fsptalos} +%%% +% +%%% \fi }{%the user runs 8bit engine \relax} diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspconcrete.sty b/Master/texmf-dist/tex/latex/fontsetup/fspconcrete.sty new file mode 100644 index 00000000000..45549174b7f --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/fspconcrete.sty @@ -0,0 +1,33 @@ +\RequirePackage{fontspec} +\defaultfontfeatures{Ligatures=TeX} + +\setmainfont[% +BoldFont=cmunobx.otf,% +ItalicFont=cmunoti.otf,% +BoldItalicFont=cmunobi.otf% +]{cmunorm.otf} + +\setsansfont[% +ItalicFont=NewCMSans10-BookOblique.otf,% +BoldFont=NewCMSans10-Bold.otf,% +BoldItalicFont=NewCMSans10-BoldOblique.otf,% +SmallCapsFeatures={Numbers=OldStyle},% +SlantedFont=NewCMSans10-BookOblique.otf,% +BoldSlantedFont=NewCMSans10-BoldOblique.otf,% +]{NewCMSans10-Book.otf} + +\setmonofont[% +ItalicFont=NewCMMono10-BookItalic.otf,% +BoldFont=NewCMMono10-Bold.otf,% +BoldItalicFont=NewCMMono10-BoldOblique.otf,% +SlantedFont=NewCMMono10-Book.otf,% +SlantedFeatures={FakeSlant=0.25}, +BoldSlantedFont=NewCMMono10-Bold.otf,% +BoldSlantedFeatures={FakeSlant=0.25}, +SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Book.otf} + + +\RequirePackage{unicode-math} +\setmathfont{Concrete-Math.otf} + +\endinput diff --git a/Master/texmf-dist/tex/latex/fontsetup/fsptalos.sty b/Master/texmf-dist/tex/latex/fontsetup/fsptalos.sty new file mode 100644 index 00000000000..40e5b2809f2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/fsptalos.sty @@ -0,0 +1,33 @@ +\RequirePackage{fontspec} +\defaultfontfeatures{Ligatures=TeX} + +\setmainfont[% +BoldFont=Talos-Bold.otf,% +ItalicFont=Talos-Italic.otf,% +BoldItalicFont=Talos-BoldItalic.otf% +]{Talos-Regular.otf} + +\setsansfont[% +ItalicFont=NewCMSans10-BookOblique.otf,% +BoldFont=NewCMSans10-Bold.otf,% +BoldItalicFont=NewCMSans10-BoldOblique.otf,% +SmallCapsFeatures={Numbers=OldStyle},% +SlantedFont=NewCMSans10-BookOblique.otf,% +BoldSlantedFont=NewCMSans10-BoldOblique.otf,% +]{NewCMSans10-Book.otf} + +\setmonofont[% +ItalicFont=NewCMMono10-BookItalic.otf,% +BoldFont=NewCMMono10-Bold.otf,% +BoldItalicFont=NewCMMono10-BoldOblique.otf,% +SlantedFont=NewCMMono10-Book.otf,% +SlantedFeatures={FakeSlant=0.25}, +BoldSlantedFont=NewCMMono10-Bold.otf,% +BoldSlantedFeatures={FakeSlant=0.25}, +SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Book.otf} + + +\RequirePackage{unicode-math} +\setmathfont{NewCMMath-Book.otf} + +\endinput |