summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-31 21:15:02 +0000
committerKarl Berry <karl@freefriends.org>2022-01-31 21:15:02 +0000
commita7ba2e65a2b908299f204a1d455c7f2c1c991a00 (patch)
tree101ef49977eadcbcd701b19783662d8aff34f23d /Master/texmf-dist/tex
parent1d444b81d53d885a68ef7096605fc3bf3dba5fe8 (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.sty11
-rw-r--r--Master/texmf-dist/tex/latex/fontsetup/fspconcrete.sty33
-rw-r--r--Master/texmf-dist/tex/latex/fontsetup/fsptalos.sty33
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