summaryrefslogtreecommitdiff
path: root/macros/unicodetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-12-17 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2023-12-17 03:00:48 +0000
commit191e0ab40b0bc070312603532904889c52a7b17c (patch)
treeb264f1b9dd55269d0fe630c78ff164ac53f9f17f /macros/unicodetex
parentcf11d08f6fe4d61a3da648d820601e3fca67d8d4 (diff)
CTAN sync 202312170300
Diffstat (limited to 'macros/unicodetex')
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/README2
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.pdfbin300630 -> 289785 bytes
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.tex4
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/tex/fspcambria.tex (renamed from macros/unicodetex/latex/fontsetup-nonfree/fspcambria.sty)2
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/tex/fsplucidaot.tex (renamed from macros/unicodetex/latex/fontsetup-nonfree/fsplucidaot.sty)2
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/tex/fspminion.tex (renamed from macros/unicodetex/latex/fontsetup-nonfree/fspminion.sty)11
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/tex/fspmsgaramondot.tex (renamed from macros/unicodetex/latex/fontsetup-nonfree/fspmsgaramondot.sty)11
-rw-r--r--macros/unicodetex/latex/fontsetup-nonfree/tex/fsppalatinoot.tex (renamed from macros/unicodetex/latex/fontsetup-nonfree/fsppalatinoot.sty)11
-rw-r--r--macros/unicodetex/latex/fontsetup/README2
-rw-r--r--macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdfbin556078 -> 559049 bytes
-rw-r--r--macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex12
-rw-r--r--macros/unicodetex/latex/fontsetup/doc/fspsample-oldstandard.pdfbin25298 -> 26155 bytes
-rw-r--r--macros/unicodetex/latex/fontsetup/doc/fspsample.tex4
-rw-r--r--macros/unicodetex/latex/fontsetup/fontsetup.sty217
-rw-r--r--macros/unicodetex/latex/fontsetup/fspdefault.sty386
-rw-r--r--macros/unicodetex/latex/fontsetup/fspgfsdidotclassicot.sty24
-rw-r--r--macros/unicodetex/latex/fontsetup/fspgfsdidotot.sty49
-rw-r--r--macros/unicodetex/latex/fontsetup/fspolddefault.sty388
-rw-r--r--macros/unicodetex/latex/fontsetup/fspoldstandard.sty20
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/cv04-Book.fontspec32
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/cv04-Regular.fontspec32
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/cv04Mono-Book.fontspec32
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/cv04Mono-Regular.fontspec32
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/cv04Sans-Book.fontspec32
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/cv04Sans-Regular.fontspec32
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fontsetup.sty170
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspconcrete.tex (renamed from macros/unicodetex/latex/fontsetup/fspconcrete.sty)11
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspdefault.tex529
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspebgaramondot.tex (renamed from macros/unicodetex/latex/fontsetup/fspebgaramondot.sty)9
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fsperewhon.tex (renamed from macros/unicodetex/latex/fontsetup/fsperewhon.sty)11
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspeulerot.tex (renamed from macros/unicodetex/latex/fontsetup/fspeulerot.sty)8
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspfiraot.tex (renamed from macros/unicodetex/latex/fontsetup/fspfiraot.sty)10
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspgfsartemisiaot.tex (renamed from macros/unicodetex/latex/fontsetup/fspgfsartemisiaot.sty)8
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspgfsdidotclassicot.tex5
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspgfsdidotot.tex21
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspgfsneohellenicot.tex (renamed from macros/unicodetex/latex/fontsetup/fspgfsneohellenicot.sty)14
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspkerkisot.tex (renamed from macros/unicodetex/latex/fontsetup/fspkerkisot.sty)9
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspolddefault.tex529
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspoldstandard.tex12
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspstixtwoot.tex (renamed from macros/unicodetex/latex/fontsetup/fspstixtwoot.sty)10
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fsptalos.tex (renamed from macros/unicodetex/latex/fontsetup/fsptalos.sty)11
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fsptimesot.tex (renamed from macros/unicodetex/latex/fontsetup/fsptimesot.sty)7
-rw-r--r--macros/unicodetex/latex/fontsetup/tex/fspxcharter.tex (renamed from macros/unicodetex/latex/fontsetup/fspxcharter.sty)10
43 files changed, 1485 insertions, 1236 deletions
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/README b/macros/unicodetex/latex/fontsetup-nonfree/README
index 5a68a22041..e31a68081f 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/README
+++ b/macros/unicodetex/latex/fontsetup-nonfree/README
@@ -1,5 +1,5 @@
The fontsetup-nonfree package
- (Version 1.02, GPL3)
+ (Version 2.0, GPL3)
This package accompanies fontsetup, and inludes support for nonfree fonts.
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.pdf b/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.pdf
index 071b87711f..89828d7b0f 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.pdf
+++ b/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.tex b/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.tex
index 5711b01afc..8ba3e055a9 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.tex
+++ b/macros/unicodetex/latex/fontsetup-nonfree/doc/fontsetup-nonfree-doc.tex
@@ -9,8 +9,8 @@
\textit{by}\\[1ex]
{\large Antonis Tsolomitis}\\
University of the Aegean\\ Department of Mathematics\\[1ex]
- \textsc{3} May \textsc{2021}\\[1ex]
- Version 1.02, \textsc{gpl3}
+ \textsc{14} December \textsc{2023}\\[1ex]
+ Version 2.0, \textsc{gpl3}
\end{center}
This package is part of the fontsetup package but for license issues it has been
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/fspcambria.sty b/macros/unicodetex/latex/fontsetup-nonfree/tex/fspcambria.tex
index b2947bb3d6..8d1d55720f 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/fspcambria.sty
+++ b/macros/unicodetex/latex/fontsetup-nonfree/tex/fspcambria.tex
@@ -1,9 +1,7 @@
%%
%% Load Cambria fonts (C) A. Tsolomitis
%%
-\RequirePackage{fontspec}
\setmainfont[Contextuals=AlternateOff,BoldFont=Cambria-Bold,ItalicFont=Cambria-Italic,BoldItalicFont=Cambria-BoldItalic]{Cambria}
-\RequirePackage{unicode-math}
\setmathfont{Cambria Math}
\endinput
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/fsplucidaot.sty b/macros/unicodetex/latex/fontsetup-nonfree/tex/fsplucidaot.tex
index 2287f48685..b0707c7984 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/fsplucidaot.sty
+++ b/macros/unicodetex/latex/fontsetup-nonfree/tex/fsplucidaot.tex
@@ -1,4 +1,3 @@
-\RequirePackage{fontspec}
\setmainfont[% main font
UprightFont=LucidaBrightOT,
ItalicFont=LucidaBrightOT-Italic,
@@ -22,7 +21,6 @@
SmallCapsFeatures={Numbers=OldStyle},
]{LucidaSansTypewriterOT.otf}
% support for OpenType math fonts:
-\RequirePackage{unicode-math}
\setmathfont{LucidaBrightMathOT.otf}
\setmathfont[version=bold]{LucidaBrightMathOT-Demi.otf}
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/fspminion.sty b/macros/unicodetex/latex/fontsetup-nonfree/tex/fspminion.tex
index 292f3dd7a2..1821bf3a7b 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/fspminion.sty
+++ b/macros/unicodetex/latex/fontsetup-nonfree/tex/fspminion.tex
@@ -1,7 +1,6 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont[SmallCapsFeatures={Numbers=OldStyle},%
NFSSFamily=MinionPro,%
@@ -27,18 +26,8 @@
BoldFont=MinionPro-Bold,%
BoldItalicFont=MinionPro-BoldIt,%
]{MinionPro-Regular}
-\RequirePackage{iftex}
-\ifxetex
-\RequirePackage[Latin, Greek]{ucharclasses}
-\setDefaultTransitions{\defaultfont}{}
-\setTransitionsForLatin{\defaultfont}{}
-\setTransitionsForGreek{\greekfont}{}
-\else
-\relax
-\fi
-\RequirePackage{unicode-math}
\setmathfont{STIXTwoMath-Regular.otf}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{MinionPro-Regular}
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{MinionPro-Bold}
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/fspmsgaramondot.sty b/macros/unicodetex/latex/fontsetup-nonfree/tex/fspmsgaramondot.tex
index 5f50b8bf02..1479678ed4 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/fspmsgaramondot.sty
+++ b/macros/unicodetex/latex/fontsetup-nonfree/tex/fspmsgaramondot.tex
@@ -1,5 +1,4 @@
%\RequirePackage[no-math]{fontspec}
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
%\RequirePackage[garamond]{mathdesign}
@@ -34,17 +33,7 @@
]{Garamond}
-\RequirePackage{iftex}
-\ifxetex
-\RequirePackage[Latin, Greek]{ucharclasses}
-\setDefaultTransitions{\defaultfont}{}
-\setTransitionsForLatin{\defaultfont}{}
-\setTransitionsForGreek{\greekfont}{}
-\else
-\relax
-\fi
-\RequirePackage{unicode-math}
\setmathfont{Garamond-Math.otf}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Garamond}
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{Garamond-Bold}
diff --git a/macros/unicodetex/latex/fontsetup-nonfree/fsppalatinoot.sty b/macros/unicodetex/latex/fontsetup-nonfree/tex/fsppalatinoot.tex
index 48528a8880..6f3b4e0781 100644
--- a/macros/unicodetex/latex/fontsetup-nonfree/fsppalatinoot.sty
+++ b/macros/unicodetex/latex/fontsetup-nonfree/tex/fsppalatinoot.tex
@@ -1,4 +1,3 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont[SmallCapsFeatures={Numbers=OldStyle},%
NFSSFamily=Palatino Linotype,%
@@ -18,17 +17,7 @@
BoldItalicFont=PalatinoLinotype-BoldItalic,%
]{PalatinoLinotype-Roman}
-\RequirePackage{iftex}
-\ifxetex
-\RequirePackage[Latin, Greek]{ucharclasses}
-\setDefaultTransitions{\defaultfont}{}
-\setTransitionsForLatin{\defaultfont}{}
-\setTransitionsForGreek{\greekfont}{}
-\else
-\relax
-\fi
-\RequirePackage{unicode-math}
\setmathfont{texgyrepagella-math.otf}
diff --git a/macros/unicodetex/latex/fontsetup/README b/macros/unicodetex/latex/fontsetup/README
index ef172cfe23..b752335375 100644
--- a/macros/unicodetex/latex/fontsetup/README
+++ b/macros/unicodetex/latex/fontsetup/README
@@ -1,5 +1,5 @@
The fontsetup package
- (Version 1.7, GPL3)
+ (Version 2.0, GPL3)
This simple package makes it trivial to switch quickly between
different quality fonts supporting Mathematics.
diff --git a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf
index 7ce909832c..d5789d10c4 100644
--- a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf
+++ b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
index dc52a0cbfa..992c5e0958 100644
--- a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
+++ b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
@@ -2,6 +2,7 @@
\synctex=1
\usepackage[default]{fontsetup}
\newfontfamily\newcmgreekguillemots[CharacterVariant=4]{NewCM10-Book.otf}
+\newfontfamily\devfont[Script=Devanagari,Language=Marathi]{NewCM10Devanagari-Book.otf}
\newcommand\leftgrquotes{\char"201C}
\newcommand\rightgrquotes{\char"201E}
\usepackage{graphicx,fullpage,supertabular}
@@ -14,8 +15,8 @@
\textit{by}\\[1ex]
{\large Antonis Tsolomitis}\\
University of the Aegean\\ Department of Mathematics\\[1ex]
- \textsc{20} October \textsc{2023}\\[1ex]
- Version 1.7, \textsc{gpl3}
+ \textsc{16} December \textsc{2023}\\[1ex]
+ Version 2.0, \textsc{gpl3}
\end{center}
This package is a simple wrapper-type package that makes the setup of fonts easy and
@@ -29,6 +30,9 @@ University of the Aegean\\ Department of Mathematics\\[1ex]
some restrictions. The fonts must have some commercial-level quality and must support
Mathematics.
+ Version 2.0 has restructured the files of the package to a better and easier to be maintained
+ way. Many thanks go to {\devfont निरंजन} (Niranjan) for helping me with this.
+
Starting with version 1.01 the package is split in two; the main package called ``fontsetup''
and the fontsetup-nonfree package that contains the support and sample files for the
non-free fonts. This facilitates the installation for users of texlive since the latter does not
@@ -52,6 +56,7 @@ University of the Aegean\\ Department of Mathematics\\[1ex]
\item the option ``upint'' for switching to upright integrals in mathmode.
\item the option ``varnothing'' for changing the default symbol for
the empty set ($\emptyset$) to the \verb|\varnothing| symbol ($\varnothing$) in mathmode.
+ \item the option ``newcmbb'' for selecting the NewCM blackboard bold instead of the AMS one.
\item commands to access prosgegrammeni instead of ypogegrammeni for capitals and small
capitals, by writing \verb|\textprosgegrammeni{<text>}| or \verb|{\prosgegrammeni <text>}|.
\item commands to access 4th and 6th century bce Greek by writing
@@ -140,8 +145,7 @@ NewComputerModern font family.
fontsetup-nonfree is installed.
\item[neoeuler] This option is preserved for backwards compatibility. See option \texttt{euler}.
\item[oldstandard] Loads the OldStandard fonts. Mathematics is from
- Garamond-Math with letters replaced
- from OldStandard.
+ OldStandard-Math.
\item[palatino] Loads the Linotype Palatino Fonts available from some versions of Windows.
Thefonts must be system installed (in \verb|C:\Windows\Fonts| in MS-Windows,
in \verb|/home/user/.fonts/| in Linux or elsewhere by the system administratior). The supplied
diff --git a/macros/unicodetex/latex/fontsetup/doc/fspsample-oldstandard.pdf b/macros/unicodetex/latex/fontsetup/doc/fspsample-oldstandard.pdf
index b13da55543..f6039929d6 100644
--- a/macros/unicodetex/latex/fontsetup/doc/fspsample-oldstandard.pdf
+++ b/macros/unicodetex/latex/fontsetup/doc/fspsample-oldstandard.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/fontsetup/doc/fspsample.tex b/macros/unicodetex/latex/fontsetup/doc/fspsample.tex
index d3f8091903..03f12453bb 100644
--- a/macros/unicodetex/latex/fontsetup/doc/fspsample.tex
+++ b/macros/unicodetex/latex/fontsetup/doc/fspsample.tex
@@ -9,7 +9,7 @@
%\usepackage[utf8x]{inputenc}
%\usepackage{amsfonts}
-\usepackage[default,upint]{fontsetup}
+\usepackage[default]{fontsetup}%upint, newcmbb
%\usepackage[gfsartemisia]{fontsetup}
%\usepackage[gfsdidot]{fontsetup}
%\usepackage[gfsdidotclassic]{fontsetup}
@@ -28,7 +28,7 @@
%\usepackage[euler]{fontsetup}
%\usepackage[neoeuler]{fontsetup}
%\usepackage[libertinus]{fontsetup}
-%\usepackage[olddefault]{fontsetup}
+%\usepackage[olddefault]{fontsetup}%upint, newcmbb
%\usepackage[concrete]{fontsetup}
%\usepackage[talos]{fontsetup}
%\usepackage[oldstandard]{fontsetup}
diff --git a/macros/unicodetex/latex/fontsetup/fontsetup.sty b/macros/unicodetex/latex/fontsetup/fontsetup.sty
deleted file mode 100644
index 5d40b84f27..0000000000
--- a/macros/unicodetex/latex/fontsetup/fontsetup.sty
+++ /dev/null
@@ -1,217 +0,0 @@
-%\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fontsetup}[Easy font setup by Antonis Tsolomitis]
-\typeout{fontsetup: Easy font setup by Antonis Tsolomitis}
-
-\RequirePackage{fontspec}
-
-\@ifpackageloaded{xgreek}{%
-\newcommand\leftgrquotes{\char"201C}%
-\newcommand\rightgrquotes{\char"201E}%
-\defaultfontfeatures+{CharacterVariant=4}%
-}{}
-
-
-\chardef\fontsetupdefault=0 %
-\chardef\fontsetupgfsartemisia=1
-\chardef\fontsetupgfsdidot=2
-\chardef\fontsetupgfsdidotclassic=3
-\chardef\fontsetupgfsneohellenic=4
-\chardef\fontsetupcambria=5 %install cambria as a system font. cambria.ttc, cambriai.ttf, cambriab.ttf, cambriaz.ttf
-\chardef\fontsetuplucida=6 %install in TeX tree
-\chardef\fontsetupkerkis=7
-\chardef\fontsetupfira=8
-\chardef\fontsetuptimes=9
-\chardef\fontsetuppalatino=10 %install Linotype Palatino as a System font. Files pala.ttf palai, palab, palabi. Install fspPalatinoGreekSmallCaps as a System font.
-\chardef\fontsetupstixtwo=11
-\chardef\fontsetupneokadmus=12
-\chardef\fontsetupmsgaramond=13 %install Microsoft Garamond as a System font. Gara.TTF, Garai, Garabd
-\chardef\fontsetupebgaramond=14
-\chardef\fontsetupminion=15 % Install MinionPro and provided fspMinionGreekSmallCaps as a system font.
-\chardef\fontsetupeuler=16
-\chardef\fontsetuplibertinus=17
-\chardef\fontsetupolddefault=18 % old (thin) CMR
-\chardef\fontsetupconcrete=19
-\chardef\fontsetuptalos=20
-\chardef\fontsetupoldstandard=21
-\chardef\fontsetupxcharter=22
-\chardef\fontsetuperewhon=23
-
-\chardef\fontsetupfont\fontsetupdefault
-\DeclareOption{default}{\chardef\fontsetupfont\fontsetupdefault}
-\DeclareOption{gfsartemisia}{\chardef\fontsetupfont\fontsetupgfsartemisia}
-\DeclareOption{gfsdidot}{\chardef\fontsetupfont\fontsetupgfsdidot}
-\DeclareOption{gfsdidotclassic}{\chardef\fontsetupfont\fontsetupgfsdidotclassic}
-\DeclareOption{gfsneohellenic}{\chardef\fontsetupfont\fontsetupgfsneohellenic}
-\DeclareOption{cambria}{\chardef\fontsetupfont\fontsetupcambria}
-\DeclareOption{lucida}{\chardef\fontsetupfont\fontsetuplucida}
-\DeclareOption{kerkis}{\chardef\fontsetupfont\fontsetupkerkis}
-\DeclareOption{fira}{\chardef\fontsetupfont\fontsetupfira}
-\DeclareOption{times}{\chardef\fontsetupfont\fontsetuptimes}
-\DeclareOption{palatino}{\chardef\fontsetupfont\fontsetuppalatino}
-\DeclareOption{stixtwo}{\chardef\fontsetupfont\fontsetupstixtwo}
-\DeclareOption{neokadmus}{\chardef\fontsetupfont\fontsetupneokadmus}
-\DeclareOption{msgaramond}{\chardef\fontsetupfont\fontsetupmsgaramond}
-\DeclareOption{ebgaramond}{\chardef\fontsetupfont\fontsetupebgaramond}
-\DeclareOption{minion}{\chardef\fontsetupfont\fontsetupminion}
-\DeclareOption{euler}{\chardef\fontsetupfont\fontsetupeuler}
-\DeclareOption{neoeuler}{\chardef\fontsetupfont\fontsetupeuler} %compatibility
-\DeclareOption{libertinus}{\chardef\fontsetupfont\fontsetuplibertinus}
-\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{erewhon}{\chardef\fontsetupfont\fontsetuperewhon}
-\DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}}
-%
-\newif\if@upint
-\DeclareOption{upint}{\@upinttrue}
-%
-\newif\if@varnothing
-\DeclareOption{varnothing}{\@varnothingtrue}
-%
-\newif\if@amsbb
-\DeclareOption{amsbb}{\@amsbbtrue}
-%
-\ProcessOptions
-
-%provide a test to know if a 16bits TeX is used.
-\RequirePackage{ifthen}
-\RequirePackage{iftex}
-\newboolean{TeXUnicode}
-\ifXeTeX
- \setboolean{TeXUnicode}{true}
-\fi
-\ifLuaTeX
- \setboolean{TeXUnicode}{true}
-\fi
-
-
-
-\ifthenelse{\boolean{TeXUnicode}}{%
- %The user runs unicode engine
- \ifcase\fontsetupfont
- \RequirePackage{fspdefault}
-%
-\if@upint
- \if@varnothing
- \if@amsbb
- \setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Book.otf}
- \else
- \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Book.otf}
- \fi
- \else
- \if@amsbb
- \setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-Book.otf}
- \else
- \setmathfont[StylisticSet=2]{NewCMMath-Book.otf}
- \fi
- \fi
-\else
- \if@varnothing
- \if@amsbb
- \setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-Book.otf}
- \else
- \setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}
- \fi
- \else
- \if@amsbb
- \setmathfont[StylisticSet=3]{NewCMMath-Book.otf}
- \else
- \setmathfont{NewCMMath-Book.otf}
- \fi
- \fi
-\fi
-%
- \or
- \RequirePackage{fspgfsartemisiaot}
-\or
- \RequirePackage{fspgfsdidotot}
-\or
- \RequirePackage{fspgfsdidotclassicot}
-\or
- \RequirePackage{fspgfsneohellenicot}
-\or
- \RequirePackage{fspcambria}
-\or
- \RequirePackage{fsplucidaot}
-% \RequirePackage[usefilenames]{lucida-otf} %for some reason it fails
-\or
- \RequirePackage{fspkerkisot}
-\or
- \RequirePackage{fspfiraot}
-\or
- \RequirePackage{fsptimesot}
-\or
- \RequirePackage{fsppalatinoot}
-\or
- \RequirePackage{fspstixtwoot}
-\or
- \RequirePackage{neokadmus}
-\or
- \RequirePackage{fspmsgaramondot}
-\or
- \RequirePackage{fspebgaramondot}
-\or
- \RequirePackage{fspminion}
-\or
- \RequirePackage{fspeulerot}
-\or
- \RequirePackage{libertinus-otf}
-\or
- \RequirePackage{fspolddefault}
-\if@upint
- \if@varnothing
- \if@amsbb
- \setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Regular.otf}
- \else
- \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Regular.otf}
- \fi
- \else
- \if@amsbb
- \setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-Regular.otf}
- \else
- \setmathfont[StylisticSet=2]{NewCMMath-Regular.otf}
- \fi
- \fi
-\else
- \if@varnothing
- \if@amsbb
- \setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-Regular.otf}
- \else
- \setmathfont[CharacterVariant=1]{NewCMMath-Regular.otf}
- \fi
- \else
- \if@amsbb
- \setmathfont[StylisticSet=3]{NewCMMath-Regular.otf}
- \else
- \setmathfont{NewCMMath-Regular.otf}
- \fi
- \fi
-\fi
-\or
- \RequirePackage{fspconcrete}
-\or
- \RequirePackage{fsptalos}
-\or
-\RequirePackage{fspoldstandard}
-\or
-\RequirePackage{fspxcharter}
-\if@upint
- \setmathfont[StylisticSet=3]{XCharter-Math.otf}
-\else
- \relax
-\fi
-\or
-\RequirePackage{fsperewhon}
-%%%
-%
-%%%
- \fi
-}{%the user runs 8bit engine
-\relax}
-
-
-
-\endinput
-
diff --git a/macros/unicodetex/latex/fontsetup/fspdefault.sty b/macros/unicodetex/latex/fontsetup/fspdefault.sty
deleted file mode 100644
index 2eb60881f9..0000000000
--- a/macros/unicodetex/latex/fontsetup/fspdefault.sty
+++ /dev/null
@@ -1,386 +0,0 @@
-%% (C) Antonis Tsolomitis, GPL3.
-\RequirePackage{fontspec}
-\RequirePackage{unicode-math}
-\setmainfont[%
- SizeFeatures={%
-{Size=-8, Font=NewCM08-Book.otf,
- ItalicFont=NewCM08-BookItalic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- SlantedFont=NewCM08-Book.otf,%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SmallCapsFeatures={Numbers=OldStyle}},
-{Size=8, Font=NewCM08-Book.otf,
- ItalicFont=NewCM08-BookItalic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- SlantedFont=NewCM08-Book.otf,%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SmallCapsFeatures={Numbers=OldStyle}},
-{Size= 9-, Font = NewCM10-Book.otf,
- ItalicFont=NewCM10-BookItalic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- SlantedFont=NewCM10-Book.otf,%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SmallCapsFeatures={Numbers=OldStyle}}%
- },%
- SmallCapsFeatures={Numbers=OldStyle},%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SlantedFont=NewCM10-Book.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- ItalicFont=NewCM10-BookItalic.otf,%
- SlantedFeatures={FakeSlant=0.25},%
- BoldSlantedFeatures={FakeSlant=0.25},%
-]{NewCM10-Book.otf}
-
-\setsansfont[%
- SizeFeatures={%
-{Size= -8, Font=NewCMSans08-Book.otf,%
- ItalicFont=NewCMSans08-BookOblique.otf,%
- BoldFont=NewCMSans10-Bold.otf,%
- BoldItalicFont=NewCMSans10-BoldOblique.otf,%
- SmallCapsFeatures={Numbers=OldStyle},%
-},
-{Size= 8, Font=NewCMSans08-Book.otf,%
- ItalicFont=NewCMSans08-BookOblique.otf,%
- BoldFont=NewCMSans10-Bold.otf,%
- BoldItalicFont=NewCMSans10-BoldOblique.otf,%
- SmallCapsFeatures={Numbers=OldStyle},%
-},
-{Size= 9-, Font=NewCMSans10-Book.otf,%
- ItalicFont=NewCMSans10-BookOblique.otf,%
- BoldFont=NewCMSans10-Bold.otf,%
- BoldItalicFont=NewCMSans10-BoldOblique.otf,%
- SmallCapsFeatures={Numbers=OldStyle},%
-}},
- 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}
-
-\newfontfamily\uncial[%
- SizeFeatures={%
-{Size=-8, Font=NewCMUncial08-Book.otf,
- BoldFont=NewCMUncial10-Bold.otf,%
- SlantedFont=NewCMUncial08-Book.otf,%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- },
-{Size=8, Font=NewCMUncial08-Book.otf,
- BoldFont=NewCMUncial08-Bold.otf,%
- SlantedFont=NewCMUncial08-Book.otf,%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- },
-{Size= 9-, Font = NewCMUncial10-Book.otf,
- BoldFont=NewCMUncial10-Bold.otf,%
- SlantedFont=NewCMUncial10-Book.otf,%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- }%
- },%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- SlantedFont=NewCMUncial10-Book.otf,%
- BoldFont=NewCMUncial10-Bold.otf,%
- SlantedFeatures={FakeSlant=0.25},%
- BoldSlantedFeatures={FakeSlant=0.25},%
- ]{NewCMUncial10-Book.otf}
-
-\newcommand{\textuncial}[1]{{\uncial #1}}
-
-\setmathfont{NewCMMath-Book.otf}
-\DeclareOption{varnothing}{\setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}}
-\ProcessOptions
-\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Book.otf}
-
-\newcommand{\tttextsc}[1]{{\ttscshape#1}}
-%
-\newcommand{\prosgegrammeni}{\addfontfeature{StylisticSet=1}}
-\newcommand{\textprosgegrammeni}[1]{{\prosgegrammeni#1}}
-%
-%\newfontfamily{\ivbce}[StylisticSet=2]{NewCMSans10-Book.otf}
-\newcommand{\ivbce}{\sffamily\addfontfeature{StylisticSet=2}}
-\newcommand{\textivbce}[1]{{\ivbce#1}}
-%
-%\newfontfamily{\ivbcealt}[StylisticSet=3]{NewCMSans10-Book.otf}
-\newcommand{\ivbcealt}{\sffamily\addfontfeature{StylisticSet=3}}
-\newcommand{\textivbcealt}[1]{{\ivbcealt#1}}
-%
-%\newfontfamily{\vibce}[StylisticSet=4]{NewCMSans10-Book.otf}
-\newcommand{\vibce}{\sffamily\addfontfeature{StylisticSet=4}}
-\newcommand{\textvibce}[1]{{\vibce#1}}
-%
-%% math (upright) sans Greek
-\newcommand{\msansAlpha}{\char"E000}
-\newcommand{\msansBeta}{\char"E001}
-\newcommand{\msansGamma}{\char"E002}
-\newcommand{\msansDelta}{\char"E003}
-\newcommand{\msansEpsilon}{\char"E004}
-\newcommand{\msansZeta}{\char"E005}
-\newcommand{\msansEta}{\char"E006}
-\newcommand{\msansTheta}{\char"E007}
-\newcommand{\msansIota}{\char"E008}
-\newcommand{\msansKappa}{\char"E009}
-\newcommand{\msansLambda}{\char"E00A}
-\newcommand{\msansMu}{\char"E00B}
-\newcommand{\msansNu}{\char"E00C}
-\newcommand{\msansXi}{\char"E00D}
-\newcommand{\msansOmicron}{\char"E00E}
-\newcommand{\msansPi}{\char"E00F}
-\newcommand{\msansRho}{\char"E010}
-\newcommand{\msansSigma}{\char"E011}
-\newcommand{\msansTau}{\char"E012}
-\newcommand{\msansUpsilon}{\char"E013}
-\newcommand{\msansPhi}{\char"E014}
-\newcommand{\msansChi}{\char"E015}
-\newcommand{\msansPsi}{\char"E016}
-\newcommand{\msansOmega}{\char"E017}
-\newcommand{\msansalpha}{\char"E018}
-\newcommand{\msansbeta}{\char"E019}
-\newcommand{\msansgamma}{\char"E01A}
-\newcommand{\msansdelta}{\char"E01B}
-\newcommand{\msansepsilon}{\char"E01C}
-\newcommand{\msanszeta}{\char"E01D}
-\newcommand{\msanseta}{\char"E01E}
-\newcommand{\msanstheta}{\char"E01F}
-\newcommand{\msansiota}{\char"E020}
-\newcommand{\msanskappa}{\char"E021}
-\newcommand{\msanslambda}{\char"E022}
-\newcommand{\msansmu}{\char"E023}
-\newcommand{\msansnu}{\char"E024}
-\newcommand{\msansxi}{\char"E025}
-\newcommand{\msansomicron}{\char"E026}
-\newcommand{\msanspi}{\char"E027}
-\newcommand{\msansrho}{\char"E028}
-\newcommand{\msansvarsigma}{\char"E029}
-\newcommand{\msanssigma}{\char"E02A}
-\newcommand{\msanstau}{\char"E02B}
-\newcommand{\msansupsilon}{\char"E02C}
-\newcommand{\msansphi}{\char"E02D}
-\newcommand{\msanschi}{\char"E02E}
-\newcommand{\msanspsi}{\char"E02F}
-\newcommand{\msansomega}{\char"E030}
-\newcommand{\msansvarepsilon}{\char"E031}
-% math italic sans Greek
-\newcommand{\mitsansAlpha}{\char"E041}
-\newcommand{\mitsansBeta}{\char"E042}
-\newcommand{\mitsansGamma}{\char"E043}
-\newcommand{\mitsansDelta}{\char"E044}
-\newcommand{\mitsansEpsilon}{\char"E045}
-\newcommand{\mitsansZeta}{\char"E046}
-\newcommand{\mitsansEta}{\char"E047}
-\newcommand{\mitsansTheta}{\char"E048}
-\newcommand{\mitsansIota}{\char"E049}
-\newcommand{\mitsansKappa}{\char"E04A}
-\newcommand{\mitsansLambda}{\char"E04B}
-\newcommand{\mitsansMu}{\char"E04C}
-\newcommand{\mitsansNu}{\char"E04D}
-\newcommand{\mitsansXi}{\char"E04E}
-\newcommand{\mitsansOmicron}{\char"E04F}
-\newcommand{\mitsansPi}{\char"E050}
-\newcommand{\mitsansRho}{\char"E051}
-\newcommand{\mitsansSigma}{\char"E052}
-\newcommand{\mitsansTau}{\char"E053}
-\newcommand{\mitsansUpsilon}{\char"E054}
-\newcommand{\mitsansPhi}{\char"E055}
-\newcommand{\mitsansChi}{\char"E056}
-\newcommand{\mitsansPsi}{\char"E057}
-\newcommand{\mitsansOmega}{\char"E058}
-\newcommand{\mitsansalpha}{\char"E059}
-\newcommand{\mitsansbeta}{\char"E05A}
-\newcommand{\mitsansgamma}{\char"E05B}
-\newcommand{\mitsansdelta}{\char"E05C}
-\newcommand{\mitsansepsilon}{\char"E05D}
-\newcommand{\mitsanszeta}{\char"E05E}
-\newcommand{\mitsanseta}{\char"E05F}
-\newcommand{\mitsanstheta}{\char"E060}
-\newcommand{\mitsansiota}{\char"E061}
-\newcommand{\mitsanskappa}{\char"E062}
-\newcommand{\mitsanslambda}{\char"E063}
-\newcommand{\mitsansmu}{\char"E064}
-\newcommand{\mitsansnu}{\char"E065}
-\newcommand{\mitsansxi}{\char"E066}
-\newcommand{\mitsansomicron}{\char"E067}
-\newcommand{\mitsanspi}{\char"E068}
-\newcommand{\mitsansrho}{\char"E069}
-\newcommand{\mitsansvarsigma}{\char"E06A}
-\newcommand{\mitsanssigma}{\char"E06B}
-\newcommand{\mitsanstau}{\char"E06C}
-\newcommand{\mitsansupsilon}{\char"E06D}
-\newcommand{\mitsansphi}{\char"E06E}
-\newcommand{\mitsanschi}{\char"E06F}
-\newcommand{\mitsanspsi}{\char"E070}
-\newcommand{\mitsansomega}{\char"E071}
-\newcommand{\mitsansvarepsilon}{\char"E072}
-% Ancient Greek Numerals u10140-u1018E
-\newcommand{\atticonequarter}{\char"10140}
-\newcommand{\atticonehalf}{\char"10141}
-\newcommand{\atticonedrachma}{\char"10142}
-\newcommand{\atticfive}{\char"10143}
-\newcommand{\atticfifty}{\char"10144}
-\newcommand{\atticfivehundred}{\char"10145}
-\newcommand{\atticfivethousand}{\char"10146}
-\newcommand{\atticfiftythousand}{\char"10147}
-\newcommand{\atticfivetalents}{\char"10148}
-\newcommand{\attictentalents}{\char"10149}
-\newcommand{\atticfiftytalents}{\char"1014A}
-\newcommand{\atticonehundredtalents}{\char"1014B}
-\newcommand{\atticfivehundredtalents}{\char"1014C}
-\newcommand{\atticonethousandtalents}{\char"1014D}
-\newcommand{\atticfivethousandtalents}{\char"1014E}
-\newcommand{\atticfivestaters}{\char"1014F}
-\newcommand{\attictenstaters}{\char"10150}
-\newcommand{\atticfiftystaters}{\char"10151}
-\newcommand{\atticonehundredstaters}{\char"10152}
-\newcommand{\atticfivehundredstaters}{\char"10153}
-\newcommand{\atticonethousandstaters}{\char"10154}
-\newcommand{\attictenthousandstaters}{\char"10155}
-\newcommand{\atticfiftythousandstaters}{\char"10156}
-\newcommand{\attictenmnas}{\char"10157}
-\newcommand{\heraleumoneplethron}{\char"10158}
-\newcommand{\thespianone}{\char"10159}
-\newcommand{\ermionianone}{\char"1015A}
-\newcommand{\epidauriantwo}{\char"1015B}
-\newcommand{\thespiantwo}{\char"1015C}
-\newcommand{\cyrenaictwodrachmas}{\char"1015D}
-\newcommand{\epidauriantwodrachmas}{\char"1015E}
-\newcommand{\troezenianfive}{\char"1015F}
-\newcommand{\troezenianten}{\char"10160}
-\newcommand{\troezeniantenalt}{\char"10161}
-\newcommand{\hermionianten}{\char"10162}
-\newcommand{\messenianten}{\char"10163}
-\newcommand{\thespianten}{\char"10164}
-\newcommand{\thespianthirty}{\char"10165}
-\newcommand{\troezenianfifty}{\char"10166}
-\newcommand{\troezenianfiftyalt}{\char"10167}
-\newcommand{\hermionianfifty}{\char"10168}
-\newcommand{\thespianfifty}{\char"10169}
-\newcommand{\thespianonehundred}{\char"1016A}
-\newcommand{\thespianthreehundred}{\char"1016B}
-\newcommand{\epidaurianfivehundred}{\char"1016C}
-\newcommand{\troezenianfivehundred}{\char"1016D}
-\newcommand{\thespianfivehundred}{\char"1016E}
-\newcommand{\carystianfivehundred}{\char"1016F}
-\newcommand{\naxianfivehundred}{\char"10170}
-\newcommand{\thespianonethousand}{\char"10171}
-\newcommand{\thespianfivethousand}{\char"10172}
-\newcommand{\delphicfivemnas}{\char"10173}
-\newcommand{\stratianfiftymnas}{\char"10174}
-\newcommand{\greekonehalfsign}{\char"10175}
-\newcommand{\greekonehalfsignalt}{\char"10176}
-\newcommand{\greektwothirdssign}{\char"10177}
-\newcommand{\greekthreequarterssign}{\char"10178}
-\newcommand{\greekyearsign}{\char"10179}
-\newcommand{\greektalentsign}{\char"1017A}
-\newcommand{\greekdrachmasign}{\char"1017B}
-\newcommand{\greekobolsign}{\char"1017C}
-\newcommand{\greektwoobolssign}{\char"1017D}
-\newcommand{\greekthreeobolssign}{\char"1017E}
-\newcommand{\greekfourobolssign}{\char"1017F}
-\newcommand{\greekfiveobolssign}{\char"10180}
-\newcommand{\greekmetretessign}{\char"10181}
-\newcommand{\greekkyathosbasesign}{\char"10182}
-\newcommand{\greeklytrasign}{\char"10183}
-\newcommand{\greekounkiasign}{\char"10184}
-\newcommand{\greekxestessign}{\char"10185}
-\newcommand{\greekartabesign}{\char"10186}
-\newcommand{\greekarourasign}{\char"10187}
-\newcommand{\greekgrammasign}{\char"10188}
-\newcommand{\greektryblionbasesign}{\char"10189}
-\newcommand{\greekzerosign}{\char"1018A}
-\newcommand{\greekonequartersign}{\char"1018B}
-\newcommand{\greeksinusoidsign}{\char"1018C}
-\newcommand{\greekindictionsign}{\char"1018D}
-\newcommand{\nomismasign}{\char"1018E}
-%
-% some math symbols
-\DeclareRobustCommand\nrightrightarrows{\mathrel{\char"E033}}
-\DeclareRobustCommand\nleftleftarrows{\mathrel{\char"E032}}
-%
-% select ss02 lookup table for IPA symbols
-%\newfontfamily{\ipatext}[StylisticSet=5,%
-%BoldFont=NewCM10-Bold.otf,%
-%SlantedFont=NewCM10-Regular.otf,%
-%SlantedFeatures={FakeSlant=0.25},
-%BoldSlantedFont=NewCM10-Bold.otf,%
-%BoldSlantedFeatures={FakeSlant=0.25},
-%SmallCapsFeatures={Numbers=OldStyle}]{NewCM10-Book.otf}
-\newcommand{\ipatext}{\addfontfeature{StylisticSet=5}}
-\newcommand{\textipa}[1]{{\ipatext#1}}
-\newcommand{\oldipatext}{\addfontfeature{StylisticSet=5,RawFeature=+lipa}}
-\newcommand{\textoldipa}[1]{{\oldipatext#1}}
-%\newfontfamily{\ipatextsans}[StylisticSet=5,%
-%ItalicFont=NewCMSans10-BookOblique.otf,%
-%BoldFont=NewCMSans10-Bold.otf,%
-%BoldItalicFont=NewCMSans10-BoldOblique.otf,%
-%SlantedFont=NewCMSans10-Oblique.otf,%
-%BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
-%SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Book.otf}
-%\newcommand{\ipatextsans}{\sffamily\addfontfeature{StylisticSet=5}}
-%\newcommand{\textsansipa}[1]{{\ipatextsans#1}}
-%
-% Up versions for chemistry
-\newcommand{\chemalpha}{\textrm{α}}
-\newcommand{\chembeta}{\textrm{β}}
-\newcommand{\chemgamma}{\textrm{γ}}
-\newcommand{\chemdelta}{\textrm{δ}}
-\newcommand{\chemepsilon}{\textrm{ε}}
-\newcommand{\chemzeta}{\textrm{ζ}}
-\newcommand{\chemeta}{\textrm{η}}
-\newcommand{\chemtheta}{\textrm{θ}}
-\newcommand{\chemiota}{\textrm{ι}}
-\newcommand{\chemkappa}{\textrm{\char"03F0}}
-\newcommand{\chemlambda}{\textrm{λ}}
-\newcommand{\chemmu}{\textrm{μ}}
-\newcommand{\chemnu}{\textrm{ν}}
-\newcommand{\chemxi}{\textrm{ξ}}
-\newcommand{\chemomicron}{\textrm{ο}}
-\newcommand{\chempi}{\textrm{π}}
-\newcommand{\chemrho}{\textrm{ρ}}
-\newcommand{\chemrhoalt}{\textrm{\char"03F1}}
-\newcommand{\chemsigma}{\textrm{σ}}
-\newcommand{\chemsigmaalt}{\textrm{ς}}
-\newcommand{\chemtau}{\textrm{τ}}
-\newcommand{\chemupsilon}{\textrm{υ}}
-\newcommand{\chemphi}{\textrm{φ}}
-\newcommand{\chemchi}{\textrm{χ}}
-\newcommand{\chempsi}{\textrm{ψ}}
-\newcommand{\chemomega}{\textrm{ω}}
-%
-\newcommand{\chemAlpha}{\textrm{Α}}
-\newcommand{\chemBeta}{\textrm{Β}}
-\newcommand{\chemGamma}{\textrm{Γ}}
-\newcommand{\chemDelta}{\textrm{Δ}}
-\newcommand{\chemEpsilon}{\textrm{Ε}}
-\newcommand{\chemZeta}{\textrm{Ζ}}
-\newcommand{\chemEta}{\textrm{Η}}
-\newcommand{\chemTheta}{\textrm{Θ}}
-\newcommand{\chemIota}{\textrm{Ι}}
-\newcommand{\chemKappa}{\textrm{Κ}}
-\newcommand{\chemLambda}{\textrm{Λ}}
-\newcommand{\chemMu}{\textrm{Μ}}
-\newcommand{\chemNu}{\textrm{Ν}}
-\newcommand{\chemXi}{\textrm{Ξ}}
-\newcommand{\chemOmicron}{\textrm{Ο}}
-\newcommand{\chemPi}{\textrm{Π}}
-\newcommand{\chemRho}{\textrm{Ρ}}
-\newcommand{\chemSigma}{\textrm{Σ}}
-\newcommand{\chemTau}{\textrm{Τ}}
-\newcommand{\chemUpsilon}{\textrm{Υ}}
-\newcommand{\chemPhi}{\textrm{Φ}}
-\newcommand{\chemChi}{\textrm{Χ}}
-\newcommand{\chemPsi}{\textrm{Ψ}}
-\newcommand{\chemOmega}{\textrm{Ω}}
-%
diff --git a/macros/unicodetex/latex/fontsetup/fspgfsdidotclassicot.sty b/macros/unicodetex/latex/fontsetup/fspgfsdidotclassicot.sty
deleted file mode 100644
index d1f26d14c7..0000000000
--- a/macros/unicodetex/latex/fontsetup/fspgfsdidotclassicot.sty
+++ /dev/null
@@ -1,24 +0,0 @@
-%\RequirePackage[no-math]{fontspec}
-\RequirePackage{fontspec}
-\defaultfontfeatures{Ligatures=TeX}
-
-%\RequirePackage[garamond]{mathdesign}
-
-
-%\newfontfamily{\defaultfont}[Scale=1.087,ItalicFont=GFSDidot_Classic,ItalicFeatures={FakeSlant=0.2},BoldFont=GFSDidot_Classic,BoldFeatures={FakeBold=2},BoldItalicFont=GFSDidot_Classic,BoldItalicFeatures={FakeSlant=0.2,FakeBold=2}]{GFSDidot_Classic.otf}
-
-\newfontfamily{\defaultfont}[Scale=1.05,
- ItalicFont=GFSPorson,ItalicFeatures={FakeSlant=0.1,FakeStretch=.92},BoldFont=GFSDidot_Classic,BoldFeatures={FakeBold=1.4,LetterSpace=2},BoldItalicFont=GFSPorson,BoldItalicFeatures={FakeBold=1.4,FakeStretch=.92,FakeSlant=0.1,LetterSpace=2}]{GFSDidot_Classic.otf}
-
-\newfontfamily{\latinfont}[ItalicFont=ugmri8a,BoldFont=ugmm8a,BoldItalicFont=ugmmi8a]{ugmr8a.otf}
-\RequirePackage[Latin, Greek]{ucharclasses}
-\setDefaultTransitions{\defaultfont}{}
-
-\setTransitionsForLatin{\latinfont}{}
-\setTransitionsForGreek{\defaultfont}{}
-
-\RequirePackage{unicode-math}
-\setmathfont{Garamond-Math.otf}
-
-
-\endinput
diff --git a/macros/unicodetex/latex/fontsetup/fspgfsdidotot.sty b/macros/unicodetex/latex/fontsetup/fspgfsdidotot.sty
deleted file mode 100644
index f8c312c02c..0000000000
--- a/macros/unicodetex/latex/fontsetup/fspgfsdidotot.sty
+++ /dev/null
@@ -1,49 +0,0 @@
-
-\RequirePackage{fontspec}
-
-\setmainfont[ItalicFont=GFSOlga,
- BoldFont=GFSDidotBold,
- BoldItalicFont=GFSDidotBoldItalic,SlantedFont=GFSDidotItalic,
- SmallCapsFeatures={Numbers=OldStyle}]{GFSDidot.otf}
-\newfontfamily{\GFSDidotoSubstFont}[%
- ItalicFont=GFSDidotItalic,
- BoldFont=GFSDidotBold,
- BoldItalicFont=GFSDidotBoldItalic,
- SmallCapsFeatures={Numbers=OldStyle}]{GFSDidot.otf}
-
-
-\RequirePackage{unicode-math}
-%\setmathfont{XITSMath-Regular.otf}
-\setmathfont{NewCMMath-Book.otf}
-\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{GFSDidot.otf}
-\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{GFSDidotBold.otf}
-\setmathfont[range=\mathit/{greek,Greek}]{GFSOlga.otf}
-\setmathfont[range=\mathit/{num,latin,Latin}]{GFSDidotItalic.otf}
-\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{GFSDidotBoldItalic.otf}
-
-%% the next code replaces non-existent Olga Latin with GFSDidotItalic Latin
-\XeTeXinterchartokenstate=1%
-\newXeTeXintercharclass\GFSDidotoSubst%
-\count255="0021%
-\loop\ifnum\count255<"0341%
- \XeTeXcharclass\count255=\GFSDidotoSubst%
- \advance\count255 by 1%
-\repeat%
-\XeTeXinterchartoks 0 \GFSDidotoSubst = {\begingroup\GFSDidotoSubstFont}%
-\XeTeXinterchartoks 4095 \GFSDidotoSubst = {\begingroup\GFSDidotoSubstFont}%
-\XeTeXinterchartoks \GFSDidotoSubst 0 = {\endgroup}%
-\XeTeXinterchartoks \GFSDidotoSubst 4095 = {\endgroup}%
-%%%%%%%%%%%%%%%%%%%%%%%%%
-
-%%%%%%%%%% Fix epsilons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\AtBeginDocument{\renewcommand{\epsilon}{\textit{ε}}
-\renewcommand{\varepsilon}{\textsl{ε}}}
-%%%%%%%%% Fix phi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newfontfamily\phifix[Scale=1.2]{GFSDidotItalic.otf}
-\AtBeginDocument{\renewcommand{\phi}{\textrm{\phifix\char"03D5}}}
-%%%%%%%%% Fix theta %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\AtBeginDocument{\renewcommand{\theta}{\textsl{θ}}
-\renewcommand{\vartheta}{\textit{θ}}}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\endinput
diff --git a/macros/unicodetex/latex/fontsetup/fspolddefault.sty b/macros/unicodetex/latex/fontsetup/fspolddefault.sty
deleted file mode 100644
index fbe816a4a5..0000000000
--- a/macros/unicodetex/latex/fontsetup/fspolddefault.sty
+++ /dev/null
@@ -1,388 +0,0 @@
-%% (C) Antonis Tsolomitis, GPL3.
-\RequirePackage{fontspec}
-\RequirePackage{unicode-math}
-\setmainfont[%
- SizeFeatures={%
-{Size=-8, Font=NewCM08-Regular.otf,
- ItalicFont=NewCM08-Italic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- SlantedFont=NewCM08-Regular.otf,%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SmallCapsFeatures={Numbers=OldStyle}},
-{Size=8, Font=NewCM08-Regular.otf,
- ItalicFont=NewCM08-Italic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- SlantedFont=NewCM08-Regular.otf,%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SmallCapsFeatures={Numbers=OldStyle}},
-{Size= 9-, Font = NewCM10-Regular.otf,
- ItalicFont=NewCM10-Italic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- SlantedFont=NewCM10-Regular.otf,%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SmallCapsFeatures={Numbers=OldStyle}}%
- },%
- SmallCapsFeatures={Numbers=OldStyle},%
- BoldSlantedFont=NewCM10-Bold.otf,%
- SlantedFont=NewCM10-Regular.otf,%
- BoldItalicFont=NewCM10-BoldItalic.otf,%
- BoldFont=NewCM10-Bold.otf,%
- ItalicFont=NewCM10-Italic.otf,%
- SlantedFeatures={FakeSlant=0.25},%
- BoldSlantedFeatures={FakeSlant=0.25},%
-]{NewCM10-Regular.otf}
-
-\setsansfont[%
- SizeFeatures={%
-{Size= -8, Font=NewCMSans08-Regular.otf,%
- ItalicFont=NewCMSans08-Oblique.otf,%
- BoldFont=NewCMSans10-Bold.otf,%
- BoldItalicFont=NewCMSans10-BoldOblique.otf,%
- SmallCapsFeatures={Numbers=OldStyle},%
-},
-{Size= 8, Font=NewCMSans08-Regular.otf,%
- ItalicFont=NewCMSans08-Oblique.otf,%
- BoldFont=NewCMSans10-Bold.otf,%
- BoldItalicFont=NewCMSans10-BoldOblique.otf,%
- SmallCapsFeatures={Numbers=OldStyle},%
-},
-{Size= 9-, Font=NewCMSans10-Regular.otf,%
- ItalicFont=NewCMSans10-Oblique.otf,%
- BoldFont=NewCMSans10-Bold.otf,%
- BoldItalicFont=NewCMSans10-BoldOblique.otf,%
- SmallCapsFeatures={Numbers=OldStyle},%
-}},
- ItalicFont=NewCMSans10-Oblique.otf,%
- BoldFont=NewCMSans10-Bold.otf,%
- BoldItalicFont=NewCMSans10-BoldOblique.otf,%
- SmallCapsFeatures={Numbers=OldStyle},%
- SlantedFont=NewCMSans10-Oblique.otf,%
- BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
-]{NewCMSans10-Regular.otf}
-
-\setmonofont[%
-ItalicFont=NewCMMono10-Italic.otf,%
-BoldFont=NewCMMono10-Bold.otf,%
-BoldItalicFont=NewCMMono10-BoldOblique.otf,%
-SlantedFont=NewCMMono10-Regular.otf,%
-SlantedFeatures={FakeSlant=0.25},
-BoldSlantedFont=NewCMMono10-Bold.otf,%
-BoldSlantedFeatures={FakeSlant=0.25},
-SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf}
-
-\newfontfamily\uncial[%
- SizeFeatures={%
-{Size=-8, Font=NewCMUncial08-Regular.otf,
- BoldFont=NewCMUncial10-Bold.otf,%
- SlantedFont=NewCMUncial08-Regular.otf,%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- },
-{Size=8, Font=NewCMUncial08-Regular.otf,
- BoldFont=NewCMUncial08-Bold.otf,%
- SlantedFont=NewCMUncial08-regular.otf,%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- },
-{Size= 9-, Font = NewCMUncial10-Regular.otf,
- BoldFont=NewCMUncial10-Bold.otf,%
- SlantedFont=NewCMUncial10-Regular.otf,%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- }%
- },%
- BoldSlantedFont=NewCMUncial10-Bold.otf,%
- SlantedFont=NewCMUncial10-Regular.otf,%
- BoldFont=NewCMUncial10-Bold.otf,%
- SlantedFeatures={FakeSlant=0.25},%
- BoldSlantedFeatures={FakeSlant=0.25},%
- ]{NewCMUncial10-Regular.otf}
-
-\newcommand{\textuncial}[1]{{\uncial #1}}
-
-
-
-\setmathfont{NewCMMath-Regular.otf}
-\DeclareOption{varnothing}{\setmathfont[CharacterVariant=1]{NewCMMath-Regular.otf}}
-\ProcessOptions
-\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Regular.otf}
-
-\newcommand{\tttextsc}[1]{{\ttscshape#1}}
-%
-\newcommand{\prosgegrammeni}{\addfontfeature{StylisticSet=1}}
-\newcommand{\textprosgegrammeni}[1]{{\prosgegrammeni#1}}
-%
-%\newfontfamily{\ivbce}[StylisticSet=2]{NewCMSans10-Regular.otf}
-\newcommand{\ivbce}{\sffamily\addfontfeature{StylisticSet=2}}
-\newcommand{\textivbce}[1]{{\ivbce#1}}
-%
-%\newfontfamily{\ivbcealt}[StylisticSet=3]{NewCMSans10-Regular.otf}
-\newcommand{\ivbcealt}{\sffamily\addfontfeature{StylisticSet=3}}
-\newcommand{\textivbcealt}[1]{{\ivbcealt#1}}
-%
-%\newfontfamily{\vibce}[StylisticSet=4]{NewCMSans10-Regular.otf}
-\newcommand{\vibce}{\sffamily\addfontfeature{StylisticSet=4}}
-\newcommand{\textvibce}[1]{{\vibce#1}}
-%
-%% math (upright) sans Greek
-\newcommand{\msansAlpha}{\char"E000}
-\newcommand{\msansBeta}{\char"E001}
-\newcommand{\msansGamma}{\char"E002}
-\newcommand{\msansDelta}{\char"E003}
-\newcommand{\msansEpsilon}{\char"E004}
-\newcommand{\msansZeta}{\char"E005}
-\newcommand{\msansEta}{\char"E006}
-\newcommand{\msansTheta}{\char"E007}
-\newcommand{\msansIota}{\char"E008}
-\newcommand{\msansKappa}{\char"E009}
-\newcommand{\msansLambda}{\char"E00A}
-\newcommand{\msansMu}{\char"E00B}
-\newcommand{\msansNu}{\char"E00C}
-\newcommand{\msansXi}{\char"E00D}
-\newcommand{\msansOmicron}{\char"E00E}
-\newcommand{\msansPi}{\char"E00F}
-\newcommand{\msansRho}{\char"E010}
-\newcommand{\msansSigma}{\char"E011}
-\newcommand{\msansTau}{\char"E012}
-\newcommand{\msansUpsilon}{\char"E013}
-\newcommand{\msansPhi}{\char"E014}
-\newcommand{\msansChi}{\char"E015}
-\newcommand{\msansPsi}{\char"E016}
-\newcommand{\msansOmega}{\char"E017}
-\newcommand{\msansalpha}{\char"E018}
-\newcommand{\msansbeta}{\char"E019}
-\newcommand{\msansgamma}{\char"E01A}
-\newcommand{\msansdelta}{\char"E01B}
-\newcommand{\msansepsilon}{\char"E01C}
-\newcommand{\msanszeta}{\char"E01D}
-\newcommand{\msanseta}{\char"E01E}
-\newcommand{\msanstheta}{\char"E01F}
-\newcommand{\msansiota}{\char"E020}
-\newcommand{\msanskappa}{\char"E021}
-\newcommand{\msanslambda}{\char"E022}
-\newcommand{\msansmu}{\char"E023}
-\newcommand{\msansnu}{\char"E024}
-\newcommand{\msansxi}{\char"E025}
-\newcommand{\msansomicron}{\char"E026}
-\newcommand{\msanspi}{\char"E027}
-\newcommand{\msansrho}{\char"E028}
-\newcommand{\msansvarsigma}{\char"E029}
-\newcommand{\msanssigma}{\char"E02A}
-\newcommand{\msanstau}{\char"E02B}
-\newcommand{\msansupsilon}{\char"E02C}
-\newcommand{\msansphi}{\char"E02D}
-\newcommand{\msanschi}{\char"E02E}
-\newcommand{\msanspsi}{\char"E02F}
-\newcommand{\msansomega}{\char"E030}
-\newcommand{\msansvarepsilon}{\char"E031}
-% math italic sans Greek
-\newcommand{\mitsansAlpha}{\char"E041}
-\newcommand{\mitsansBeta}{\char"E042}
-\newcommand{\mitsansGamma}{\char"E043}
-\newcommand{\mitsansDelta}{\char"E044}
-\newcommand{\mitsansEpsilon}{\char"E045}
-\newcommand{\mitsansZeta}{\char"E046}
-\newcommand{\mitsansEta}{\char"E047}
-\newcommand{\mitsansTheta}{\char"E048}
-\newcommand{\mitsansIota}{\char"E049}
-\newcommand{\mitsansKappa}{\char"E04A}
-\newcommand{\mitsansLambda}{\char"E04B}
-\newcommand{\mitsansMu}{\char"E04C}
-\newcommand{\mitsansNu}{\char"E04D}
-\newcommand{\mitsansXi}{\char"E04E}
-\newcommand{\mitsansOmicron}{\char"E04F}
-\newcommand{\mitsansPi}{\char"E050}
-\newcommand{\mitsansRho}{\char"E051}
-\newcommand{\mitsansSigma}{\char"E052}
-\newcommand{\mitsansTau}{\char"E053}
-\newcommand{\mitsansUpsilon}{\char"E054}
-\newcommand{\mitsansPhi}{\char"E055}
-\newcommand{\mitsansChi}{\char"E056}
-\newcommand{\mitsansPsi}{\char"E057}
-\newcommand{\mitsansOmega}{\char"E058}
-\newcommand{\mitsansalpha}{\char"E059}
-\newcommand{\mitsansbeta}{\char"E05A}
-\newcommand{\mitsansgamma}{\char"E05B}
-\newcommand{\mitsansdelta}{\char"E05C}
-\newcommand{\mitsansepsilon}{\char"E05D}
-\newcommand{\mitsanszeta}{\char"E05E}
-\newcommand{\mitsanseta}{\char"E05F}
-\newcommand{\mitsanstheta}{\char"E060}
-\newcommand{\mitsansiota}{\char"E061}
-\newcommand{\mitsanskappa}{\char"E062}
-\newcommand{\mitsanslambda}{\char"E063}
-\newcommand{\mitsansmu}{\char"E064}
-\newcommand{\mitsansnu}{\char"E065}
-\newcommand{\mitsansxi}{\char"E066}
-\newcommand{\mitsansomicron}{\char"E067}
-\newcommand{\mitsanspi}{\char"E068}
-\newcommand{\mitsansrho}{\char"E069}
-\newcommand{\mitsansvarsigma}{\char"E06A}
-\newcommand{\mitsanssigma}{\char"E06B}
-\newcommand{\mitsanstau}{\char"E06C}
-\newcommand{\mitsansupsilon}{\char"E06D}
-\newcommand{\mitsansphi}{\char"E06E}
-\newcommand{\mitsanschi}{\char"E06F}
-\newcommand{\mitsanspsi}{\char"E070}
-\newcommand{\mitsansomega}{\char"E071}
-\newcommand{\mitsansvarepsilon}{\char"E072}
-% Ancient Greek Numerals u10140-u1018E
-\newcommand{\atticonequarter}{\char"10140}
-\newcommand{\atticonehalf}{\char"10141}
-\newcommand{\atticonedrachma}{\char"10142}
-\newcommand{\atticfive}{\char"10143}
-\newcommand{\atticfifty}{\char"10144}
-\newcommand{\atticfivehundred}{\char"10145}
-\newcommand{\atticfivethousand}{\char"10146}
-\newcommand{\atticfiftythousand}{\char"10147}
-\newcommand{\atticfivetalents}{\char"10148}
-\newcommand{\attictentalents}{\char"10149}
-\newcommand{\atticfiftytalents}{\char"1014A}
-\newcommand{\atticonehundredtalents}{\char"1014B}
-\newcommand{\atticfivehundredtalents}{\char"1014C}
-\newcommand{\atticonethousandtalents}{\char"1014D}
-\newcommand{\atticfivethousandtalents}{\char"1014E}
-\newcommand{\atticfivestaters}{\char"1014F}
-\newcommand{\attictenstaters}{\char"10150}
-\newcommand{\atticfiftystaters}{\char"10151}
-\newcommand{\atticonehundredstaters}{\char"10152}
-\newcommand{\atticfivehundredstaters}{\char"10153}
-\newcommand{\atticonethousandstaters}{\char"10154}
-\newcommand{\attictenthousandstaters}{\char"10155}
-\newcommand{\atticfiftythousandstaters}{\char"10156}
-\newcommand{\attictenmnas}{\char"10157}
-\newcommand{\heraleumoneplethron}{\char"10158}
-\newcommand{\thespianone}{\char"10159}
-\newcommand{\ermionianone}{\char"1015A}
-\newcommand{\epidauriantwo}{\char"1015B}
-\newcommand{\thespiantwo}{\char"1015C}
-\newcommand{\cyrenaictwodrachmas}{\char"1015D}
-\newcommand{\epidauriantwodrachmas}{\char"1015E}
-\newcommand{\troezenianfive}{\char"1015F}
-\newcommand{\troezenianten}{\char"10160}
-\newcommand{\troezeniantenalt}{\char"10161}
-\newcommand{\hermionianten}{\char"10162}
-\newcommand{\messenianten}{\char"10163}
-\newcommand{\thespianten}{\char"10164}
-\newcommand{\thespianthirty}{\char"10165}
-\newcommand{\troezenianfifty}{\char"10166}
-\newcommand{\troezenianfiftyalt}{\char"10167}
-\newcommand{\hermionianfifty}{\char"10168}
-\newcommand{\thespianfifty}{\char"10169}
-\newcommand{\thespianonehundred}{\char"1016A}
-\newcommand{\thespianthreehundred}{\char"1016B}
-\newcommand{\epidaurianfivehundred}{\char"1016C}
-\newcommand{\troezenianfivehundred}{\char"1016D}
-\newcommand{\thespianfivehundred}{\char"1016E}
-\newcommand{\carystianfivehundred}{\char"1016F}
-\newcommand{\naxianfivehundred}{\char"10170}
-\newcommand{\thespianonethousand}{\char"10171}
-\newcommand{\thespianfivethousand}{\char"10172}
-\newcommand{\delphicfivemnas}{\char"10173}
-\newcommand{\stratianfiftymnas}{\char"10174}
-\newcommand{\greekonehalfsign}{\char"10175}
-\newcommand{\greekonehalfsignalt}{\char"10176}
-\newcommand{\greektwothirdssign}{\char"10177}
-\newcommand{\greekthreequarterssign}{\char"10178}
-\newcommand{\greekyearsign}{\char"10179}
-\newcommand{\greektalentsign}{\char"1017A}
-\newcommand{\greekdrachmasign}{\char"1017B}
-\newcommand{\greekobolsign}{\char"1017C}
-\newcommand{\greektwoobolssign}{\char"1017D}
-\newcommand{\greekthreeobolssign}{\char"1017E}
-\newcommand{\greekfourobolssign}{\char"1017F}
-\newcommand{\greekfiveobolssign}{\char"10180}
-\newcommand{\greekmetretessign}{\char"10181}
-\newcommand{\greekkyathosbasesign}{\char"10182}
-\newcommand{\greeklytrasign}{\char"10183}
-\newcommand{\greekounkiasign}{\char"10184}
-\newcommand{\greekxestessign}{\char"10185}
-\newcommand{\greekartabesign}{\char"10186}
-\newcommand{\greekarourasign}{\char"10187}
-\newcommand{\greekgrammasign}{\char"10188}
-\newcommand{\greektryblionbasesign}{\char"10189}
-\newcommand{\greekzerosign}{\char"1018A}
-\newcommand{\greekonequartersign}{\char"1018B}
-\newcommand{\greeksinusoidsign}{\char"1018C}
-\newcommand{\greekindictionsign}{\char"1018D}
-\newcommand{\nomismasign}{\char"1018E}
-%
-% some math symbols
-\DeclareRobustCommand\nrightrightarrows{\mathrel{\char"E033}}
-\DeclareRobustCommand\nleftleftarrows{\mathrel{\char"E032}}
-%
-% select ss02 lookup table for IPA symbols
-%\newfontfamily{\ipatext}[StylisticSet=5,%
-%BoldFont=NewCM10-Bold.otf,%
-%SlantedFont=NewCM10-Regular.otf,%
-%SlantedFeatures={FakeSlant=0.25},
-%BoldSlantedFont=NewCM10-Bold.otf,%
-%BoldSlantedFeatures={FakeSlant=0.25},
-%SmallCapsFeatures={Numbers=OldStyle}]{NewCM10-Regular.otf}
-\newcommand{\ipatext}{\addfontfeature{StylisticSet=5}}
-\newcommand{\textipa}[1]{{\ipatext#1}}
-\newcommand{\oldipatext}{\addfontfeature{StylisticSet=5,RawFeature=+lipa}}
-\newcommand{\textoldipa}[1]{{\oldipatext#1}}
-%\newfontfamily{\ipatextsans}[StylisticSet=5,%
-%ItalicFont=NewCMSans10-Oblique.otf,%
-%BoldFont=NewCMSans10-Bold.otf,%
-%BoldItalicFont=NewCMSans10-BoldOblique.otf,%
-%SlantedFont=NewCMSans10-Oblique.otf,%
-%BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
-%SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Regular.otf}
-%\newcommand{\ipatextsans}{\sffamily\addfontfeature{StylisticSet=5}}
-%\newcommand{\textsansipa}[1]{{\ipatextsans#1}}
-%
-% Up versions for chemistry
-\newcommand{\chemalpha}{\textrm{α}}
-\newcommand{\chembeta}{\textrm{β}}
-\newcommand{\chemgamma}{\textrm{γ}}
-\newcommand{\chemdelta}{\textrm{δ}}
-\newcommand{\chemepsilon}{\textrm{ε}}
-\newcommand{\chemzeta}{\textrm{ζ}}
-\newcommand{\chemeta}{\textrm{η}}
-\newcommand{\chemtheta}{\textrm{θ}}
-\newcommand{\chemiota}{\textrm{ι}}
-\newcommand{\chemkappa}{\textrm{\char"03F0}}
-\newcommand{\chemlambda}{\textrm{λ}}
-\newcommand{\chemmu}{\textrm{μ}}
-\newcommand{\chemnu}{\textrm{ν}}
-\newcommand{\chemxi}{\textrm{ξ}}
-\newcommand{\chemomicron}{\textrm{ο}}
-\newcommand{\chempi}{\textrm{π}}
-\newcommand{\chemrho}{\textrm{ρ}}
-\newcommand{\chemrhoalt}{\textrm{\char"03F1}}
-\newcommand{\chemsigma}{\textrm{σ}}
-\newcommand{\chemsigmaalt}{\textrm{ς}}
-\newcommand{\chemtau}{\textrm{τ}}
-\newcommand{\chemupsilon}{\textrm{υ}}
-\newcommand{\chemphi}{\textrm{φ}}
-\newcommand{\chemchi}{\textrm{χ}}
-\newcommand{\chempsi}{\textrm{ψ}}
-\newcommand{\chemomega}{\textrm{ω}}
-%
-\newcommand{\chemAlpha}{\textrm{Α}}
-\newcommand{\chemBeta}{\textrm{Β}}
-\newcommand{\chemGamma}{\textrm{Γ}}
-\newcommand{\chemDelta}{\textrm{Δ}}
-\newcommand{\chemEpsilon}{\textrm{Ε}}
-\newcommand{\chemZeta}{\textrm{Ζ}}
-\newcommand{\chemEta}{\textrm{Η}}
-\newcommand{\chemTheta}{\textrm{Θ}}
-\newcommand{\chemIota}{\textrm{Ι}}
-\newcommand{\chemKappa}{\textrm{Κ}}
-\newcommand{\chemLambda}{\textrm{Λ}}
-\newcommand{\chemMu}{\textrm{Μ}}
-\newcommand{\chemNu}{\textrm{Ν}}
-\newcommand{\chemXi}{\textrm{Ξ}}
-\newcommand{\chemOmicron}{\textrm{Ο}}
-\newcommand{\chemPi}{\textrm{Π}}
-\newcommand{\chemRho}{\textrm{Ρ}}
-\newcommand{\chemSigma}{\textrm{Σ}}
-\newcommand{\chemTau}{\textrm{Τ}}
-\newcommand{\chemUpsilon}{\textrm{Υ}}
-\newcommand{\chemPhi}{\textrm{Φ}}
-\newcommand{\chemChi}{\textrm{Χ}}
-\newcommand{\chemPsi}{\textrm{Ψ}}
-\newcommand{\chemOmega}{\textrm{Ω}}
-%
diff --git a/macros/unicodetex/latex/fontsetup/fspoldstandard.sty b/macros/unicodetex/latex/fontsetup/fspoldstandard.sty
deleted file mode 100644
index ae76a1e2da..0000000000
--- a/macros/unicodetex/latex/fontsetup/fspoldstandard.sty
+++ /dev/null
@@ -1,20 +0,0 @@
-\RequirePackage{fontspec}
-\defaultfontfeatures{Ligatures=TeX}
-
-\setmainfont[%
-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[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/macros/unicodetex/latex/fontsetup/tex/cv04-Book.fontspec b/macros/unicodetex/latex/fontsetup/tex/cv04-Book.fontspec
new file mode 100644
index 0000000000..1f123b886b
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/cv04-Book.fontspec
@@ -0,0 +1,32 @@
+\defaultfontfeatures[cv04-Book]{%
+ Extension = {.otf},%
+ SizeFeatures = {%
+ {%
+ Size = {-10},%
+ Font = {NewCM08-Book},%
+ ItalicFont = {NewCM08-BookItalic},%
+ BoldFont = {NewCM10-Bold},%
+ BoldItalicFont = {NewCM10-BoldItalic},%
+ SlantedFont = {NewCM08-Book},%
+ BoldSlantedFont = {NewCM10-Bold}%
+ },%
+ {%
+ Size = {8},%
+ Font = {NewCM08-Book},%
+ ItalicFont = {NewCM08-BookItalic},%
+ BoldFont = {NewCM10-Bold},%
+ BoldItalicFont = {NewCM10-BoldItalic},%
+ SlantedFont = {NewCM08-Book},%
+ BoldSlantedFont = {NewCM10-Bold}%
+ },%
+ {%
+ Size = {9-},%
+ Font = {NewCM10-Book},%
+ ItalicFont = {NewCM10-BookItalic},%
+ BoldFont = {NewCM10-Bold},%
+ BoldItalicFont = {NewCM10-BoldItalic},%
+ SlantedFont = {NewCM10-Book},%
+ BoldSlantedFont = {NewCM10-Bold}%
+ }%
+ }%
+} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/cv04-Regular.fontspec b/macros/unicodetex/latex/fontsetup/tex/cv04-Regular.fontspec
new file mode 100644
index 0000000000..3543370c15
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/cv04-Regular.fontspec
@@ -0,0 +1,32 @@
+\defaultfontfeatures[cv04-Regular]{%
+ Extension = {.otf},%
+ SizeFeatures = {%
+ {%
+ Size = {-10},%
+ Font = {NewCM08-Regular},%
+ ItalicFont = {NewCM08-Italic},%
+ BoldFont = {NewCM10-Bold},%
+ BoldItalicFont = {NewCM10-BoldItalic},%
+ SlantedFont = {NewCM08-Regular},%
+ BoldSlantedFont = {NewCM10-Bold}%
+ },%
+ {%
+ Size = {8},%
+ Font = {NewCM08-Regular},%
+ ItalicFont = {NewCM08-Italic},%
+ BoldFont = {NewCM10-Bold},%
+ BoldItalicFont = {NewCM10-BoldItalic},%
+ SlantedFont = {NewCM08-Regular},%
+ BoldSlantedFont = {NewCM10-Bold}%
+ },%
+ {%
+ Size = {9-},%
+ Font = {NewCM10-Regular},%
+ ItalicFont = {NewCM10-Italic},%
+ BoldFont = {NewCM10-Bold},%
+ BoldItalicFont = {NewCM10-BoldItalic},%
+ SlantedFont = {NewCM10-Regular},%
+ BoldSlantedFont = {NewCM10-Bold}%
+ }%
+ }%
+} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/cv04Mono-Book.fontspec b/macros/unicodetex/latex/fontsetup/tex/cv04Mono-Book.fontspec
new file mode 100644
index 0000000000..5cd5f50859
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/cv04Mono-Book.fontspec
@@ -0,0 +1,32 @@
+\defaultfontfeatures[cv04-Book]{%
+ Extension = {.otf},%
+ SizeFeatures = {%
+ {%
+ Size = {-10},%
+ Font = {NewCMMono08-Book},%
+ ItalicFont = {NewCMMono08-BookItalic},%
+ BoldFont = {NewCMMono10-Bold},%
+ BoldItalicFont = {NewCMMono10-BoldOblique},%
+ SlantedFont = {NewCMMono08-Book},%
+ BoldSlantedFont = {NewCMMono10-Bold}%
+ },%
+ {%
+ Size = {8},%
+ Font = {NewCMMono08-Book},%
+ ItalicFont = {NewCMMono08-BookItalic},%
+ BoldFont = {NewCMMono10-Bold},%
+ BoldItalicFont = {NewCMMono10-BoldOblique},%
+ SlantedFont = {NewCMMono08-Book},%
+ BoldSlantedFont = {NewCMMono10-Bold}%
+ },%
+ {%
+ Size = {9-},%
+ Font = {NewCMMono10-Book},%
+ ItalicFont = {NewCMMono10-BookItalic},%
+ BoldFont = {NewCMMono10-Bold},%
+ BoldItalicFont = {NewCMMono10-BoldOblique},%
+ SlantedFont = {NewCMMono10-Book},%
+ BoldSlantedFont = {NewCMMono10-Bold}%
+ }%
+ }%
+} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/cv04Mono-Regular.fontspec b/macros/unicodetex/latex/fontsetup/tex/cv04Mono-Regular.fontspec
new file mode 100644
index 0000000000..6f904acd31
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/cv04Mono-Regular.fontspec
@@ -0,0 +1,32 @@
+\defaultfontfeatures[cv04-Regular]{%
+ Extension = {.otf},%
+ SizeFeatures = {%
+ {%
+ Size = {-10},%
+ Font = {NewCMMono08-Regular},%
+ ItalicFont = {NewCMMono08-Italic},%
+ BoldFont = {NewCMMono10-Bold},%
+ BoldItalicFont = {NewCMMono10-BoldOblique},%
+ SlantedFont = {NewCMMono08-Regular},%
+ BoldSlantedFont = {NewCMMono10-Bold}%
+ },%
+ {%
+ Size = {8},%
+ Font = {NewCMMono08-Regular},%
+ ItalicFont = {NewCMMono08-Italic},%
+ BoldFont = {NewCMMono10-Bold},%
+ BoldItalicFont = {NewCMMono10-BoldOblique},%
+ SlantedFont = {NewCMMono08-Regular},%
+ BoldSlantedFont = {NewCMMono10-Bold}%
+ },%
+ {%
+ Size = {9-},%
+ Font = {NewCMMono10-Regular},%
+ ItalicFont = {NewCMMono10-Italic},%
+ BoldFont = {NewCMMono10-Bold},%
+ BoldItalicFont = {NewCMMono10-BoldOblique},%
+ SlantedFont = {NewCMMono10-Regular},%
+ BoldSlantedFont = {NewCMMono10-Bold}%
+ }%
+ }%
+} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/cv04Sans-Book.fontspec b/macros/unicodetex/latex/fontsetup/tex/cv04Sans-Book.fontspec
new file mode 100644
index 0000000000..b5c7c99326
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/cv04Sans-Book.fontspec
@@ -0,0 +1,32 @@
+\defaultfontfeatures[cv04-Book]{%
+ Extension = {.otf},%
+ SizeFeatures = {%
+ {%
+ Size = {-10},%
+ Font = {NewCMSans08-Book},%
+ ItalicFont = {NewCMSans08-Oblique},%
+ BoldFont = {NewCMSans10-Bold},%
+ BoldItalicFont = {NewCMSans10-BoldOblique},%
+ SlantedFont = {NewCMSans08-Book},%
+ BoldSlantedFont = {NewCMSans10-Bold}%
+ },%
+ {%
+ Size = {8},%
+ Font = {NewCMSans08-Book},%
+ ItalicFont = {NewCMSans08-Oblique},%
+ BoldFont = {NewCMSans10-Bold},%
+ BoldItalicFont = {NewCMSans10-BoldOblique},%
+ SlantedFont = {NewCMSans08-Book},%
+ BoldSlantedFont = {NewCMSans10-Bold}%
+ },%
+ {%
+ Size = {9-},%
+ Font = {NewCMSans10-Book},%
+ ItalicFont = {NewCMSans10-Oblique},%
+ BoldFont = {NewCMSans10-Bold},%
+ BoldItalicFont = {NewCMSans10-BoldOblique},%
+ SlantedFont = {NewCMSans10-Book},%
+ BoldSlantedFont = {NewCMSans10-Bold}%
+ }%
+ }%
+} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/cv04Sans-Regular.fontspec b/macros/unicodetex/latex/fontsetup/tex/cv04Sans-Regular.fontspec
new file mode 100644
index 0000000000..d7a442e0e6
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/cv04Sans-Regular.fontspec
@@ -0,0 +1,32 @@
+\defaultfontfeatures[cv04-Regular]{%
+ Extension = {.otf},%
+ SizeFeatures = {%
+ {%
+ Size = {-10},%
+ Font = {NewCMSans08-Regular},%
+ ItalicFont = {NewCMSans08-Oblique},%
+ BoldFont = {NewCMSans10-Bold},%
+ BoldItalicFont = {NewCMSans10-BoldOblique},%
+ SlantedFont = {NewCMSans08-Regular},%
+ BoldSlantedFont = {NewCMSans10-Bold}%
+ },%
+ {%
+ Size = {8},%
+ Font = {NewCMSans08-Regular},%
+ ItalicFont = {NewCMSans08-Oblique},%
+ BoldFont = {NewCMSans10-Bold},%
+ BoldItalicFont = {NewCMSans10-BoldOblique},%
+ SlantedFont = {NewCMSans08-Regular},%
+ BoldSlantedFont = {NewCMSans10-Bold}%
+ },%
+ {%
+ Size = {9-},%
+ Font = {NewCMSans10-Regular},%
+ ItalicFont = {NewCMSans10-Oblique},%
+ BoldFont = {NewCMSans10-Bold},%
+ BoldItalicFont = {NewCMSans10-BoldOblique},%
+ SlantedFont = {NewCMSans10-Regular},%
+ BoldSlantedFont = {NewCMSans10-Bold}%
+ }%
+ }%
+} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/fontsetup.sty b/macros/unicodetex/latex/fontsetup/tex/fontsetup.sty
new file mode 100644
index 0000000000..5479b8d294
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/fontsetup.sty
@@ -0,0 +1,170 @@
+\ProvidesPackage{fontsetup}[2023/12/16 v2.0 For easily using font families with mathematics]
+\RequirePackage{iflang}
+\RequirePackage{iftex}
+% Provide a test to know if a 16bits TeX is used.
+\iftutex
+ \RequirePackage{fontspec}
+ \RequirePackage{unicode-math}
+ \ifxetex
+ \RequirePackage{ucharclasses}
+ \fi
+\else
+ \PackageError{fontsetup}{Use Unicode-compliant TeX-engines}{%
+ The package requires Unicode-compliant engines, e.g.,\MessageBreak
+ Xe/LuaLaTeX. Kindly run your code with one of them.%
+ }%
+\fi
+\newif\if@upint
+\newif\if@varnothing
+\newif\if@newcmbb
+\newif\if@erewhon
+\newif\if@xcharter
+\newif\if@gfs
+\newif\if@libertinus
+\newif\if@palatino
+\newif\if@msgaramond
+\newif\if@minion
+\newcommand*\greeksetup{%
+ \newcommand*\leftgrquotes{\char"201C}%
+ \newcommand*\rightgrquotes{\char"201E}%
+}
+\newcommand*\cvfoursetup{%
+ \defaultfontfeatures[cv04-Book]{CharacterVariant=4}%
+ \defaultfontfeatures[cv04-Regular]{CharacterVariant=4}%
+ \defaultfontfeatures[cv04Sans-Book]{CharacterVariant=4}%
+ \defaultfontfeatures[cv04Sans-Regular]{CharacterVariant=4}%
+ \defaultfontfeatures[cv04Mono-Book]{CharacterVariant=4}%
+ \defaultfontfeatures[cv04Sans-Regular]{CharacterVariant=4}%
+}
+\IfLanguageName{greek}{\greeksetup}{\@ifpackageloaded{xgreek}{\greeksetup}{}}
+\newcommand*\ncmsetup{%
+ \if@upint
+ \if@varnothing
+ \if@newcmbb
+ \setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \else
+ \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \fi
+ \else
+ \if@newcmbb
+ \setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-\regularorbook.otf}%
+ \else
+ \setmathfont[StylisticSet=2]{NewCMMath-\regularorbook.otf}%
+ \fi
+ \fi
+ \else
+ \if@varnothing
+ \if@newcmbb
+ \setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \else
+ \setmathfont[CharacterVariant=1]{NewCMMath-\regularorbook.otf}%
+ \fi
+ \else
+ \if@newcmbb
+ \setmathfont[StylisticSet=3]{NewCMMath-\regularorbook.otf}%
+ \else
+ \setmathfont{NewCMMath-\regularorbook.otf}%
+ \fi
+ \fi
+ \fi
+ \IfLanguageName{greek}{\cvfoursetup}{\@ifpackageloaded{xgreek}{\cvfoursetup}{}}}
+\DeclareOption{upint}{\@upinttrue}
+\DeclareOption{varnothing}{\@varnothingtrue}
+\DeclareOption{newcmbb}{\@newcmbbtrue}
+\DeclareOption{default}{%
+ \input{fspdefault}%
+ \begingroup
+ \newcommand*{\regularorbook}{Book}%
+ \ncmsetup
+ \endgroup
+}
+\DeclareOption{olddefault}{%
+ \input{fspolddefault}%
+ \begingroup
+ \newcommand*{\regularorbook}{Regular}%
+ \ncmsetup
+ \endgroup
+}
+% Install Cambria as a system font.
+% cambria.ttc, cambriai.ttf, cambriab.ttf, cambriaz.ttf
+\DeclareOption{cambria}{\input{fspcambria}}
+\DeclareOption{concrete}{\input{fspconcrete}}
+\DeclareOption{ebgaramond}{\input{fspebgaramondot}}
+\DeclareOption{erewhon}{\input{fsperewhon}\@erewhontrue}
+\DeclareOption{euler}{\input{fspeulerot}}
+\DeclareOption{fira}{\input{fspfiraot}}
+\DeclareOption{gfsartemisia}{\input{fspgfsartemisiaot}}
+\DeclareOption{gfsdidot}{\input{fspgfsdidotot}}
+\DeclareOption{gfsdidotclassic}{\input{fspgfsdidotclassicot}\@gfstrue}
+\DeclareOption{gfsneohellenic}{\input{fspgfsneohellenicot}}
+\DeclareOption{kerkis}{\input{fspkerkisot}}
+\DeclareOption{libertinus}{\@libertinustrue}
+% Install Lucida in TeX tree
+\DeclareOption{lucida}{\input{fsplucidaot}}
+% Install MinionPro and provided fspMinionGreekSmallCaps as system fonts.
+\DeclareOption{minion}{\input{fspminion}\@miniontrue}
+% Install Microsoft Garamond as a system font.
+% Gara.ttf, Garai, Garabd
+\DeclareOption{msgaramond}{\input{fspmsgaramondot}\@msgaramondtrue}
+\DeclareOption{neoeuler}{\input{fspeulerot}}% compatibility
+% Not released yet
+% \DeclareOption{neokadmus}{\input{neokadmus}}
+\DeclareOption{oldstandard}{\input{fspoldstandard}%
+ \if@upint
+ \setmathfont[StylisticSet=2]{OldStandard-Math.otf}%
+ \fi
+}
+% Install Linotype Palatino as a system font.
+% pala.ttf palai, palab, palabi.
+% Install fspPalatinoGreekSmallCaps as a System font.
+\DeclareOption{palatino}{\input{fsppalatinoot}\@palatinotrue}
+\DeclareOption{stixtwo}{\input{fspstixtwoot}}
+\DeclareOption{talos}{\input{fsptalos}}
+\DeclareOption{times}{\input{fsptimesot}}
+\DeclareOption{xcharter}{%
+ \input{fspxcharter}%
+ \@xchartertrue
+}
+\DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}}
+\ProcessOptions
+\AtBeginDocument{%
+ \if@erewhon
+ \RequirePackage{fourier-otf}
+ \fi
+ \if@xcharter
+ \RequirePackage{xcharter-otf}
+ \if@upint
+ \setmathfont[StylisticSet=3]{XCharter-Math.otf}%
+ \fi
+ \fi
+ \if@gfs
+ \ifxetex
+ \PassOptionsToPackage{ucharclasses}{Latin,Greek}
+ \setDefaultTransitions{\defaultfont}{}
+ \setTransitionsForLatin{\latinfont}{}
+ \setTransitionsForGreek{\defaultfont}{}
+ \fi
+ \fi
+ \if@libertinus
+ \RequirePackage{libertinus-otf}
+ \fi
+ \if@palatino
+ \PassOptionsToPackage{ucharclasses}{Latin, Greek}
+ \setDefaultTransitions{\defaultfont}{}
+ \setTransitionsForLatin{\defaultfont}{}
+ \setTransitionsForGreek{\greekfont}{}
+ \fi
+ \if@msgaramond
+ \PassOptionsToPackage{ucharclasses}{Latin,Greek}
+ \setDefaultTransitions{\defaultfont}{}
+ \setTransitionsForLatin{\defaultfont}{}
+ \setTransitionsForGreek{\greekfont}{}
+ \fi
+ \if@minion
+ \PassOptionsToPackage{ucharclasses}{Latin,Greek}
+ \setDefaultTransitions{\defaultfont}{}
+ \setTransitionsForLatin{\defaultfont}{}
+ \setTransitionsForGreek{\greekfont}{}
+ \fi
+}
+\endinput
diff --git a/macros/unicodetex/latex/fontsetup/fspconcrete.sty b/macros/unicodetex/latex/fontsetup/tex/fspconcrete.tex
index 45549174b7..1acc74c3d4 100644
--- a/macros/unicodetex/latex/fontsetup/fspconcrete.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspconcrete.tex
@@ -1,12 +1,9 @@
-\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,%
@@ -15,7 +12,6 @@ SmallCapsFeatures={Numbers=OldStyle},%
SlantedFont=NewCMSans10-BookOblique.otf,%
BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
]{NewCMSans10-Book.otf}
-
\setmonofont[%
ItalicFont=NewCMMono10-BookItalic.otf,%
BoldFont=NewCMMono10-Bold.otf,%
@@ -25,9 +21,4 @@ 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
+\setmathfont{Concrete-Math.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/fspdefault.tex b/macros/unicodetex/latex/fontsetup/tex/fspdefault.tex
new file mode 100644
index 0000000000..3acf4df58c
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/fspdefault.tex
@@ -0,0 +1,529 @@
+%% (C) Antonis Tsolomitis, GPL3.
+\setmainfont[%
+ SizeFeatures={%
+{Size=-8, Font=NewCM08-Book.otf,
+ ItalicFont=NewCM08-BookItalic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ SlantedFont=NewCM08-Book.otf,%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SmallCapsFeatures={Numbers=OldStyle}},
+{Size=8, Font=NewCM08-Book.otf,
+ ItalicFont=NewCM08-BookItalic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ SlantedFont=NewCM08-Book.otf,%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SmallCapsFeatures={Numbers=OldStyle}},
+{Size= 9-, Font = NewCM10-Book.otf,
+ ItalicFont=NewCM10-BookItalic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ SlantedFont=NewCM10-Book.otf,%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SmallCapsFeatures={Numbers=OldStyle}}%
+ },%
+ SmallCapsFeatures={Numbers=OldStyle},%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SlantedFont=NewCM10-Book.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ ItalicFont=NewCM10-BookItalic.otf,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+]{NewCM10-Book.otf}
+\setsansfont[%
+ SizeFeatures={%
+{Size= -8, Font=NewCMSans08-Book.otf,%
+ ItalicFont=NewCMSans08-BookOblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+},
+{Size= 8, Font=NewCMSans08-Book.otf,%
+ ItalicFont=NewCMSans08-BookOblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+},
+{Size= 9-, Font=NewCMSans10-Book.otf,%
+ ItalicFont=NewCMSans10-BookOblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+}},
+ 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}
+\newfontfamily\uncial[%
+ SizeFeatures={%
+{Size=-8, Font=NewCMUncial08-Book.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial08-Book.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size=8, Font=NewCMUncial08-Book.otf,
+ BoldFont=NewCMUncial08-Bold.otf,%
+ SlantedFont=NewCMUncial08-Book.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size= 9-, Font = NewCMUncial10-Book.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Book.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ }%
+ },%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Book.otf,%
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+ ]{NewCMUncial10-Book.otf}
+\newcommand{\textuncial}[1]{{\uncial #1}}
+\setmathfont{NewCMMath-Book.otf}
+\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Book.otf}
+\newcommand{\tttextsc}[1]{{\ttscshape#1}}
+%
+\let\prosgegrammeni\undefined
+\newcommand{\prosgegrammeni}{\addfontfeature{StylisticSet=1}}
+\newcommand{\textprosgegrammeni}[1]{{\prosgegrammeni#1}}
+%
+%\newfontfamily{\ivbce}[StylisticSet=2]{NewCMSans10-Book.otf}
+\newcommand{\ivbce}{\sffamily\addfontfeature{StylisticSet=2}}
+\newcommand{\textivbce}[1]{{\ivbce#1}}
+%
+%\newfontfamily{\ivbcealt}[StylisticSet=3]{NewCMSans10-Book.otf}
+\newcommand{\ivbcealt}{\sffamily\addfontfeature{StylisticSet=3}}
+\newcommand{\textivbcealt}[1]{{\ivbcealt#1}}
+%
+%\newfontfamily{\vibce}[StylisticSet=4]{NewCMSans10-Book.otf}
+\newcommand{\vibce}{\sffamily\addfontfeature{StylisticSet=4}}
+\newcommand{\textvibce}[1]{{\vibce#1}}
+%
+%% math (upright) sans Greek
+\newcommand*{\msansAlpha}{\char"E000}
+\newcommand*{\msansBeta}{\char"E001}
+\newcommand*{\msansGamma}{\char"E002}
+\newcommand*{\msansDelta}{\char"E003}
+\newcommand*{\msansEpsilon}{\char"E004}
+\newcommand*{\msansZeta}{\char"E005}
+\newcommand*{\msansEta}{\char"E006}
+\newcommand*{\msansTheta}{\char"E007}
+\newcommand*{\msansIota}{\char"E008}
+\newcommand*{\msansKappa}{\char"E009}
+\newcommand*{\msansLambda}{\char"E00A}
+\newcommand*{\msansMu}{\char"E00B}
+\newcommand*{\msansNu}{\char"E00C}
+\newcommand*{\msansXi}{\char"E00D}
+\newcommand*{\msansOmicron}{\char"E00E}
+\newcommand*{\msansPi}{\char"E00F}
+\newcommand*{\msansRho}{\char"E010}
+\newcommand*{\msansSigma}{\char"E011}
+\newcommand*{\msansTau}{\char"E012}
+\newcommand*{\msansUpsilon}{\char"E013}
+\newcommand*{\msansPhi}{\char"E014}
+\newcommand*{\msansChi}{\char"E015}
+\newcommand*{\msansPsi}{\char"E016}
+\newcommand*{\msansOmega}{\char"E017}
+\newcommand*{\msansalpha}{\char"E018}
+\newcommand*{\msansbeta}{\char"E019}
+\newcommand*{\msansgamma}{\char"E01A}
+\newcommand*{\msansdelta}{\char"E01B}
+\newcommand*{\msansepsilon}{\char"E01C}
+\newcommand*{\msanszeta}{\char"E01D}
+\newcommand*{\msanseta}{\char"E01E}
+\newcommand*{\msanstheta}{\char"E01F}
+\newcommand*{\msansiota}{\char"E020}
+\newcommand*{\msanskappa}{\char"E021}
+\newcommand*{\msanslambda}{\char"E022}
+\newcommand*{\msansmu}{\char"E023}
+\newcommand*{\msansnu}{\char"E024}
+\newcommand*{\msansxi}{\char"E025}
+\newcommand*{\msansomicron}{\char"E026}
+\newcommand*{\msanspi}{\char"E027}
+\newcommand*{\msansrho}{\char"E028}
+\newcommand*{\msansvarsigma}{\char"E029}
+\newcommand*{\msanssigma}{\char"E02A}
+\newcommand*{\msanstau}{\char"E02B}
+\newcommand*{\msansupsilon}{\char"E02C}
+\newcommand*{\msansphi}{\char"E02D}
+\newcommand*{\msanschi}{\char"E02E}
+\newcommand*{\msanspsi}{\char"E02F}
+\newcommand*{\msansomega}{\char"E030}
+\newcommand*{\msansvarepsilon}{\char"E031}
+% math italic sans Greek
+\newcommand*{\mitsansAlpha}{\char"E041}
+\newcommand*{\mitsansBeta}{\char"E042}
+\newcommand*{\mitsansGamma}{\char"E043}
+\newcommand*{\mitsansDelta}{\char"E044}
+\newcommand*{\mitsansEpsilon}{\char"E045}
+\newcommand*{\mitsansZeta}{\char"E046}
+\newcommand*{\mitsansEta}{\char"E047}
+\newcommand*{\mitsansTheta}{\char"E048}
+\newcommand*{\mitsansIota}{\char"E049}
+\newcommand*{\mitsansKappa}{\char"E04A}
+\newcommand*{\mitsansLambda}{\char"E04B}
+\newcommand*{\mitsansMu}{\char"E04C}
+\newcommand*{\mitsansNu}{\char"E04D}
+\newcommand*{\mitsansXi}{\char"E04E}
+\newcommand*{\mitsansOmicron}{\char"E04F}
+\newcommand*{\mitsansPi}{\char"E050}
+\newcommand*{\mitsansRho}{\char"E051}
+\newcommand*{\mitsansSigma}{\char"E052}
+\newcommand*{\mitsansTau}{\char"E053}
+\newcommand*{\mitsansUpsilon}{\char"E054}
+\newcommand*{\mitsansPhi}{\char"E055}
+\newcommand*{\mitsansChi}{\char"E056}
+\newcommand*{\mitsansPsi}{\char"E057}
+\newcommand*{\mitsansOmega}{\char"E058}
+\newcommand*{\mitsansalpha}{\char"E059}
+\newcommand*{\mitsansbeta}{\char"E05A}
+\newcommand*{\mitsansgamma}{\char"E05B}
+\newcommand*{\mitsansdelta}{\char"E05C}
+\newcommand*{\mitsansepsilon}{\char"E05D}
+\newcommand*{\mitsanszeta}{\char"E05E}
+\newcommand*{\mitsanseta}{\char"E05F}
+\newcommand*{\mitsanstheta}{\char"E060}
+\newcommand*{\mitsansiota}{\char"E061}
+\newcommand*{\mitsanskappa}{\char"E062}
+\newcommand*{\mitsanslambda}{\char"E063}
+\newcommand*{\mitsansmu}{\char"E064}
+\newcommand*{\mitsansnu}{\char"E065}
+\newcommand*{\mitsansxi}{\char"E066}
+\newcommand*{\mitsansomicron}{\char"E067}
+\newcommand*{\mitsanspi}{\char"E068}
+\newcommand*{\mitsansrho}{\char"E069}
+\newcommand*{\mitsansvarsigma}{\char"E06A}
+\newcommand*{\mitsanssigma}{\char"E06B}
+\newcommand*{\mitsanstau}{\char"E06C}
+\newcommand*{\mitsansupsilon}{\char"E06D}
+\newcommand*{\mitsansphi}{\char"E06E}
+\newcommand*{\mitsanschi}{\char"E06F}
+\newcommand*{\mitsanspsi}{\char"E070}
+\newcommand*{\mitsansomega}{\char"E071}
+\newcommand*{\mitsansvarepsilon}{\char"E072}
+% Ancient Greek Numerals u10140-u1018E
+\newcommand*{\atticonequarter}{\char"10140}
+\newcommand*{\atticonehalf}{\char"10141}
+\newcommand*{\atticonedrachma}{\char"10142}
+\newcommand*{\atticfive}{\char"10143}
+\newcommand*{\atticfifty}{\char"10144}
+\newcommand*{\atticfivehundred}{\char"10145}
+\newcommand*{\atticfivethousand}{\char"10146}
+\newcommand*{\atticfiftythousand}{\char"10147}
+\newcommand*{\atticfivetalents}{\char"10148}
+\newcommand*{\attictentalents}{\char"10149}
+\newcommand*{\atticfiftytalents}{\char"1014A}
+\newcommand*{\atticonehundredtalents}{\char"1014B}
+\newcommand*{\atticfivehundredtalents}{\char"1014C}
+\newcommand*{\atticonethousandtalents}{\char"1014D}
+\newcommand*{\atticfivethousandtalents}{\char"1014E}
+\newcommand*{\atticfivestaters}{\char"1014F}
+\newcommand*{\attictenstaters}{\char"10150}
+\newcommand*{\atticfiftystaters}{\char"10151}
+\newcommand*{\atticonehundredstaters}{\char"10152}
+\newcommand*{\atticfivehundredstaters}{\char"10153}
+\newcommand*{\atticonethousandstaters}{\char"10154}
+\newcommand*{\attictenthousandstaters}{\char"10155}
+\newcommand*{\atticfiftythousandstaters}{\char"10156}
+\newcommand*{\attictenmnas}{\char"10157}
+\newcommand*{\heraleumoneplethron}{\char"10158}
+\newcommand*{\thespianone}{\char"10159}
+\newcommand*{\ermionianone}{\char"1015A}
+\newcommand*{\epidauriantwo}{\char"1015B}
+\newcommand*{\thespiantwo}{\char"1015C}
+\newcommand*{\cyrenaictwodrachmas}{\char"1015D}
+\newcommand*{\epidauriantwodrachmas}{\char"1015E}
+\newcommand*{\troezenianfive}{\char"1015F}
+\newcommand*{\troezenianten}{\char"10160}
+\newcommand*{\troezeniantenalt}{\char"10161}
+\newcommand*{\hermionianten}{\char"10162}
+\newcommand*{\messenianten}{\char"10163}
+\newcommand*{\thespianten}{\char"10164}
+\newcommand*{\thespianthirty}{\char"10165}
+\newcommand*{\troezenianfifty}{\char"10166}
+\newcommand*{\troezenianfiftyalt}{\char"10167}
+\newcommand*{\hermionianfifty}{\char"10168}
+\newcommand*{\thespianfifty}{\char"10169}
+\newcommand*{\thespianonehundred}{\char"1016A}
+\newcommand*{\thespianthreehundred}{\char"1016B}
+\newcommand*{\epidaurianfivehundred}{\char"1016C}
+\newcommand*{\troezenianfivehundred}{\char"1016D}
+\newcommand*{\thespianfivehundred}{\char"1016E}
+\newcommand*{\carystianfivehundred}{\char"1016F}
+\newcommand*{\naxianfivehundred}{\char"10170}
+\newcommand*{\thespianonethousand}{\char"10171}
+\newcommand*{\thespianfivethousand}{\char"10172}
+\newcommand*{\delphicfivemnas}{\char"10173}
+\newcommand*{\stratianfiftymnas}{\char"10174}
+\newcommand*{\greekonehalfsign}{\char"10175}
+\newcommand*{\greekonehalfsignalt}{\char"10176}
+\newcommand*{\greektwothirdssign}{\char"10177}
+\newcommand*{\greekthreequarterssign}{\char"10178}
+\newcommand*{\greekyearsign}{\char"10179}
+\newcommand*{\greektalentsign}{\char"1017A}
+\newcommand*{\greekdrachmasign}{\char"1017B}
+\newcommand*{\greekobolsign}{\char"1017C}
+\newcommand*{\greektwoobolssign}{\char"1017D}
+\newcommand*{\greekthreeobolssign}{\char"1017E}
+\newcommand*{\greekfourobolssign}{\char"1017F}
+\newcommand*{\greekfiveobolssign}{\char"10180}
+\newcommand*{\greekmetretessign}{\char"10181}
+\newcommand*{\greekkyathosbasesign}{\char"10182}
+\newcommand*{\greeklytrasign}{\char"10183}
+\newcommand*{\greekounkiasign}{\char"10184}
+\newcommand*{\greekxestessign}{\char"10185}
+\newcommand*{\greekartabesign}{\char"10186}
+\newcommand*{\greekarourasign}{\char"10187}
+\newcommand*{\greekgrammasign}{\char"10188}
+\newcommand*{\greektryblionbasesign}{\char"10189}
+\newcommand*{\greekzerosign}{\char"1018A}
+\newcommand*{\greekonequartersign}{\char"1018B}
+\newcommand*{\greeksinusoidsign}{\char"1018C}
+\newcommand*{\greekindictionsign}{\char"1018D}
+\newcommand*{\nomismasign}{\char"1018E}
+%
+% some math symbols
+\DeclareRobustCommand*\nrightrightarrows{\mathrel{\char"E033}}
+\DeclareRobustCommand*\nleftleftarrows{\mathrel{\char"E032}}
+%
+% select ss02 lookup table for IPA symbols
+%\newfontfamily{\ipatext}[StylisticSet=5,%
+%BoldFont=NewCM10-Bold.otf,%
+%SlantedFont=NewCM10-Regular.otf,%
+%SlantedFeatures={FakeSlant=0.25},
+%BoldSlantedFont=NewCM10-Bold.otf,%
+%BoldSlantedFeatures={FakeSlant=0.25},
+%SmallCapsFeatures={Numbers=OldStyle}]{NewCM10-Book.otf}
+\newcommand{\ipatext}{\addfontfeature{StylisticSet=5}}
+\newcommand{\textipa}[1]{{\ipatext#1}}
+\newcommand{\oldipatext}{\addfontfeature{StylisticSet=5,RawFeature=+lipa}}
+\newcommand{\textoldipa}[1]{{\oldipatext#1}}
+%\newfontfamily{\ipatextsans}[StylisticSet=5,%
+%ItalicFont=NewCMSans10-BookOblique.otf,%
+%BoldFont=NewCMSans10-Bold.otf,%
+%BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+%SlantedFont=NewCMSans10-Oblique.otf,%
+%BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
+%SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Book.otf}
+%\newcommand{\ipatextsans}{\sffamily\addfontfeature{StylisticSet=5}}
+%\newcommand{\textsansipa}[1]{{\ipatextsans#1}}
+%
+% Up versions for chemistry
+\newcommand*{\chemalpha}{\textrm{α}}
+\newcommand*{\chembeta}{\textrm{β}}
+\newcommand*{\chemgamma}{\textrm{γ}}
+\newcommand*{\chemdelta}{\textrm{δ}}
+\newcommand*{\chemepsilon}{\textrm{ε}}
+\newcommand*{\chemzeta}{\textrm{ζ}}
+\newcommand*{\chemeta}{\textrm{η}}
+\newcommand*{\chemtheta}{\textrm{θ}}
+\newcommand*{\chemiota}{\textrm{ι}}
+\newcommand*{\chemkappa}{\textrm{\char"03F0}}
+\newcommand*{\chemlambda}{\textrm{λ}}
+\newcommand*{\chemmu}{\textrm{μ}}
+\newcommand*{\chemnu}{\textrm{ν}}
+\newcommand*{\chemxi}{\textrm{ξ}}
+\newcommand*{\chemomicron}{\textrm{ο}}
+\newcommand*{\chempi}{\textrm{π}}
+\newcommand*{\chemrho}{\textrm{ρ}}
+\newcommand*{\chemrhoalt}{\textrm{\char"03F1}}
+\newcommand*{\chemsigma}{\textrm{σ}}
+\newcommand*{\chemsigmaalt}{\textrm{ς}}
+\newcommand*{\chemtau}{\textrm{τ}}
+\newcommand*{\chemupsilon}{\textrm{υ}}
+\newcommand*{\chemphi}{\textrm{φ}}
+\newcommand*{\chemchi}{\textrm{χ}}
+\newcommand*{\chempsi}{\textrm{ψ}}
+\newcommand*{\chemomega}{\textrm{ω}}
+%
+\newcommand*{\chemAlpha}{\textrm{Α}}
+\newcommand*{\chemBeta}{\textrm{Β}}
+\newcommand*{\chemGamma}{\textrm{Γ}}
+\newcommand*{\chemDelta}{\textrm{Δ}}
+\newcommand*{\chemEpsilon}{\textrm{Ε}}
+\newcommand*{\chemZeta}{\textrm{Ζ}}
+\newcommand*{\chemEta}{\textrm{Η}}
+\newcommand*{\chemTheta}{\textrm{Θ}}
+\newcommand*{\chemIota}{\textrm{Ι}}
+\newcommand*{\chemKappa}{\textrm{Κ}}
+\newcommand*{\chemLambda}{\textrm{Λ}}
+\newcommand*{\chemMu}{\textrm{Μ}}
+\newcommand*{\chemNu}{\textrm{Ν}}
+\newcommand*{\chemXi}{\textrm{Ξ}}
+\newcommand*{\chemOmicron}{\textrm{Ο}}
+\newcommand*{\chemPi}{\textrm{Π}}
+\newcommand*{\chemRho}{\textrm{Ρ}}
+\newcommand*{\chemSigma}{\textrm{Σ}}
+\newcommand*{\chemTau}{\textrm{Τ}}
+\newcommand*{\chemUpsilon}{\textrm{Υ}}
+\newcommand*{\chemPhi}{\textrm{Φ}}
+\newcommand*{\chemChi}{\textrm{Χ}}
+\newcommand*{\chemPsi}{\textrm{Ψ}}
+\newcommand*{\chemOmega}{\textrm{Ω}}
+%
+%% Next block enables Devanagari letters as variables in Math font
+\Umathcode "0900 7 \symoperators "0900%
+\Umathcode "0901 7 \symoperators "0901%
+\Umathcode "0902 7 \symoperators "0902%
+\Umathcode "0903 7 \symoperators "0903%
+\Umathcode "0904 7 \symoperators "0904%
+\Umathcode "0905 7 \symoperators "0905%
+\Umathcode "0906 7 \symoperators "0906%
+\Umathcode "0907 7 \symoperators "0907%
+\Umathcode "0908 7 \symoperators "0908%
+\Umathcode "0909 7 \symoperators "0909%
+\Umathcode "090A 7 \symoperators "090A%
+\Umathcode "090B 7 \symoperators "090B%
+\Umathcode "090C 7 \symoperators "090C%
+\Umathcode "090D 7 \symoperators "090D%
+\Umathcode "090E 7 \symoperators "090E%
+\Umathcode "090F 7 \symoperators "090F%
+%
+\Umathcode "0910 7 \symoperators "0910%
+\Umathcode "0911 7 \symoperators "0911%
+\Umathcode "0912 7 \symoperators "0912%
+\Umathcode "0913 7 \symoperators "0913%
+\Umathcode "0914 7 \symoperators "0914%
+\Umathcode "0915 7 \symoperators "0915%
+\Umathcode "0916 7 \symoperators "0916%
+\Umathcode "0917 7 \symoperators "0917%
+\Umathcode "0918 7 \symoperators "0918%
+\Umathcode "0919 7 \symoperators "0919%
+\Umathcode "091A 7 \symoperators "091A%
+\Umathcode "091B 7 \symoperators "091B%
+\Umathcode "091C 7 \symoperators "091C%
+\Umathcode "091D 7 \symoperators "091D%
+\Umathcode "091E 7 \symoperators "091E%
+\Umathcode "091F 7 \symoperators "091F%
+%
+\Umathcode "0920 7 \symoperators "0920%
+\Umathcode "0921 7 \symoperators "0921%
+\Umathcode "0922 7 \symoperators "0922%
+\Umathcode "0923 7 \symoperators "0923%
+\Umathcode "0924 7 \symoperators "0924%
+\Umathcode "0925 7 \symoperators "0925%
+\Umathcode "0926 7 \symoperators "0926%
+\Umathcode "0927 7 \symoperators "0927%
+\Umathcode "0928 7 \symoperators "0928%
+\Umathcode "0929 7 \symoperators "0929%
+\Umathcode "092A 7 \symoperators "092A%
+\Umathcode "092B 7 \symoperators "092B%
+\Umathcode "092C 7 \symoperators "092C%
+\Umathcode "092D 7 \symoperators "092D%
+\Umathcode "092E 7 \symoperators "092E%
+\Umathcode "092F 7 \symoperators "092F%
+%
+\Umathcode "0930 7 \symoperators "0930%
+\Umathcode "0931 7 \symoperators "0931%
+\Umathcode "0932 7 \symoperators "0932%
+\Umathcode "0933 7 \symoperators "0933%
+\Umathcode "0934 7 \symoperators "0934%
+\Umathcode "0935 7 \symoperators "0935%
+\Umathcode "0936 7 \symoperators "0936%
+\Umathcode "0937 7 \symoperators "0937%
+\Umathcode "0938 7 \symoperators "0938%
+\Umathcode "0939 7 \symoperators "0939%
+\Umathcode "093A 7 \symoperators "093A%
+\Umathcode "093B 7 \symoperators "093B%
+\Umathcode "093C 7 \symoperators "093C%
+\Umathcode "093D 7 \symoperators "093D%
+\Umathcode "093E 7 \symoperators "093E%
+\Umathcode "093F 7 \symoperators "093F%
+%
+\Umathcode "0940 7 \symoperators "0940%
+\Umathcode "0941 7 \symoperators "0941%
+\Umathcode "0942 7 \symoperators "0942%
+\Umathcode "0943 7 \symoperators "0943%
+\Umathcode "0944 7 \symoperators "0944%
+\Umathcode "0945 7 \symoperators "0945%
+\Umathcode "0946 7 \symoperators "0946%
+\Umathcode "0947 7 \symoperators "0947%
+\Umathcode "0948 7 \symoperators "0948%
+\Umathcode "0949 7 \symoperators "0949%
+\Umathcode "094A 7 \symoperators "094A%
+\Umathcode "094B 7 \symoperators "094B%
+\Umathcode "094C 7 \symoperators "094C%
+\Umathcode "094D 7 \symoperators "094D%
+\Umathcode "094E 7 \symoperators "094E%
+\Umathcode "094F 7 \symoperators "094F%
+%
+\Umathcode "0950 7 \symoperators "0950%
+\Umathcode "0951 7 \symoperators "0951%
+\Umathcode "0952 7 \symoperators "0952%
+\Umathcode "0953 7 \symoperators "0953%
+\Umathcode "0954 7 \symoperators "0954%
+\Umathcode "0955 7 \symoperators "0955%
+\Umathcode "0956 7 \symoperators "0956%
+\Umathcode "0957 7 \symoperators "0957%
+\Umathcode "0958 7 \symoperators "0958%
+\Umathcode "0959 7 \symoperators "0959%
+\Umathcode "095A 7 \symoperators "095A%
+\Umathcode "095B 7 \symoperators "095B%
+\Umathcode "095C 7 \symoperators "095C%
+\Umathcode "095D 7 \symoperators "095D%
+\Umathcode "095E 7 \symoperators "095E%
+\Umathcode "095F 7 \symoperators "095F%
+%
+\Umathcode "0960 7 \symoperators "0960%
+\Umathcode "0961 7 \symoperators "0961%
+\Umathcode "0962 7 \symoperators "0962%
+\Umathcode "0963 7 \symoperators "0963%
+\Umathcode "0964 7 \symoperators "0964%
+\Umathcode "0965 7 \symoperators "0965%
+\Umathcode "0966 7 \symoperators "0966%
+\Umathcode "0967 7 \symoperators "0967%
+\Umathcode "0968 7 \symoperators "0968%
+\Umathcode "0969 7 \symoperators "0969%
+\Umathcode "096A 7 \symoperators "096A%
+\Umathcode "096B 7 \symoperators "096B%
+\Umathcode "096C 7 \symoperators "096C%
+\Umathcode "096D 7 \symoperators "096D%
+\Umathcode "096E 7 \symoperators "096E%
+\Umathcode "096F 7 \symoperators "096F%
+%
+\Umathcode "0970 7 \symoperators "0970%
+\Umathcode "0971 7 \symoperators "0971%
+\Umathcode "0972 7 \symoperators "0972%
+\Umathcode "0973 7 \symoperators "0973%
+\Umathcode "0974 7 \symoperators "0974%
+\Umathcode "0975 7 \symoperators "0975%
+\Umathcode "0976 7 \symoperators "0976%
+\Umathcode "0977 7 \symoperators "0977%
+\Umathcode "0978 7 \symoperators "0978%
+\Umathcode "0979 7 \symoperators "0979%
+\Umathcode "097A 7 \symoperators "097A%
+\Umathcode "097B 7 \symoperators "097B%
+\Umathcode "097C 7 \symoperators "097C%
+\Umathcode "097D 7 \symoperators "097D%
+\Umathcode "097E 7 \symoperators "097E%
+\Umathcode "097F 7 \symoperators "097F%
+%\Umathcode `ज 7 \symoperators "091C%
+%\Umathcode `अ 7 \symoperators "0905%
+%\Umathcode "0905 7 \symoperators "0905%
+%\Umathcode `क 7 \symoperators "0915%
+%\Umathcode `ख 7 \symoperators "0916%
+%\Umathcode `२ 7 \symoperators "0968%
+%\count255="0900
+% \loop\ifnum\count255<"097F
+% \advance\count255 by 1
+% \Umathcode \count255 7 \symoperators \count255\fi
+% \repeat
+%%%%%%%%%%%%%%% End Devanagari Variables block %%%%%%%%
+
+
+
+\endinput
diff --git a/macros/unicodetex/latex/fontsetup/fspebgaramondot.sty b/macros/unicodetex/latex/fontsetup/tex/fspebgaramondot.tex
index a819513535..8d8802fbd6 100644
--- a/macros/unicodetex/latex/fontsetup/fspebgaramondot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspebgaramondot.tex
@@ -1,12 +1,5 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
\setmainfont[ItalicFont=EBGaramond-Italic.otf,
BoldFont=EBGaramond-Bold.otf,
BoldItalicFont=EBGaramond-BoldItalic.otf,SmallCapsFeatures={Numbers=OldStyle}]{EBGaramond-Regular.otf}
-
-\RequirePackage{unicode-math}
-\setmathfont{Garamond-Math.otf}
-
-
-\endinput
+\setmathfont{Garamond-Math.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fsperewhon.sty b/macros/unicodetex/latex/fontsetup/tex/fsperewhon.tex
index 738e8c1db9..5f4409268d 100644
--- a/macros/unicodetex/latex/fontsetup/fsperewhon.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fsperewhon.tex
@@ -1,9 +1,4 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
-
-\RequirePackage{fourier-otf}
-
\setmainfont[%
SlantedFont=Erewhon-RegularSlanted,
BoldSlantedFont=Erewhon-BoldSlanted,
@@ -13,8 +8,4 @@
UprightFont=Erewhon-Regular,
SmallCapsFeatures={Numbers=OldStyle}
]{Erewhon-Regular.otf}
-
-\usepackage{unicode-math}
-\setmathfont{Erewhon-Math.otf}
-
-\endinput
+\setmathfont{Erewhon-Math.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fspeulerot.sty b/macros/unicodetex/latex/fontsetup/tex/fspeulerot.tex
index 55442dfe1c..c2ea8788e3 100644
--- a/macros/unicodetex/latex/fontsetup/fspeulerot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspeulerot.tex
@@ -1,5 +1,3 @@
-\RequirePackage{fontspec}
-\RequirePackage{unicode-math}
%\unimathsetup{math-style=upright}
\setmainfont[ItalicFont=cmunoti.otf,
BoldFont=cmunobx.otf,
@@ -7,10 +5,8 @@
% RawFeature=+pnum,% variable width numbers
SmallCapsFeatures={Numbers=OldStyle}]{cmunorm.otf}
\defaultfontfeatures{Scale=MatchLowercase}
-
-
%\setmathfont{LibertinusMath-Regular.otf}
-\setmathfont{euler-math.otf}
+\setmathfont{Euler-Math.otf}
%Get missing glyphs (in euler-math) from Tex Gyre Pagella Math
\setmathfont[%
range={"00A2,"00A6,"00A9,"00AB,"00B0,"00B8,"00BB,"00BF,"00C0-"00D6,"00D8-"00EF,
@@ -26,4 +22,4 @@
\setmathfont[range=up/{greek,Greek}, script-features={}, sscript-features={}
]{Euler-Math.otf}
\setmathfont[range=up/{latin,Latin,num}, script-features={}, sscript-features={}
- ]{Euler-Math.otf}
+ ]{Euler-Math.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fspfiraot.sty b/macros/unicodetex/latex/fontsetup/tex/fspfiraot.tex
index 172bf45dab..de802b49f5 100644
--- a/macros/unicodetex/latex/fontsetup/fspfiraot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspfiraot.tex
@@ -1,26 +1,18 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
\setmainfont[%
ItalicFont=FiraSans-Italic.otf,%
BoldFont=FiraSans-Bold.otf,
BoldItalicFont=FiraSans-BookItalic.otf,%
SmallCapsFeatures={Numbers=OldStyle}%
]{FiraSans-Regular.otf}
-
\setsansfont[%
ItalicFont=FiraSans-Italic.otf,%
BoldFont=FiraSans-Bold.otf,%
BoldItalicFont=FiraSans-BookItalic.otf,%
SmallCapsFeatures={Numbers=OldStyle}%
]{FiraSans-Regular.otf}
-
\setmonofont[ItalicFont=FiraMono-Regular.otf,ItalicFeatures={FakeSlant=0.2},%
BoldFont=FiraMono-Bold.otf,%
BoldItalicFont=FiraMono-Bold.otf,BoldItalicFeatures={FakeSlant=0.2}%
]{FiraMono-Regular.otf}
-
-\RequirePackage{unicode-math}
-\setmathfont{FiraMath-Regular.otf}
-
-\endinput \ No newline at end of file
+\setmathfont{FiraMath-Regular.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fspgfsartemisiaot.sty b/macros/unicodetex/latex/fontsetup/tex/fspgfsartemisiaot.tex
index e63cb93d19..50b0d10368 100644
--- a/macros/unicodetex/latex/fontsetup/fspgfsartemisiaot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspgfsartemisiaot.tex
@@ -1,16 +1,10 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
\setmainfont[ItalicFont=GFSArtemisiaIt.otf,
BoldFont=GFSArtemisiaBold.otf,
BoldItalicFont=GFSArtemisiaBoldIt.otf,SmallCapsFeatures={Numbers=OldStyle}]{GFSArtemisia.otf}
-
-\RequirePackage{unicode-math}
%\setmathfont{XITSMath-Regular.otf}
\setmathfont{STIXTwoMath-Regular.otf}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{GFSArtemisia.otf}
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{GFSArtemisiaBold.otf}
\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{GFSArtemisiaIt.otf}
-\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{GFSArtemisiaBoldIt.otf}
-
-\endinput
+\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{GFSArtemisiaBoldIt.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/fspgfsdidotclassicot.tex b/macros/unicodetex/latex/fontsetup/tex/fspgfsdidotclassicot.tex
new file mode 100644
index 0000000000..a9ea8720f2
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/fspgfsdidotclassicot.tex
@@ -0,0 +1,5 @@
+\defaultfontfeatures{Ligatures=TeX}
+%\newfontfamily{\defaultfont}[Scale=1.087,ItalicFont=GFSDidot_Classic,ItalicFeatures={FakeSlant=0.2},BoldFont=GFSDidot_Classic,BoldFeatures={FakeBold=2},BoldItalicFont=GFSDidot_Classic,BoldItalicFeatures={FakeSlant=0.2,FakeBold=2}]{GFSDidot_Classic.otf}
+\newfontfamily{\defaultfont}[Scale=1.05, ItalicFont=GFSPorson,ItalicFeatures={FakeSlant=0.1,FakeStretch=.92},BoldFont=GFSDidot_Classic,BoldFeatures={FakeBold=1.4,LetterSpace=2},BoldItalicFont=GFSPorson,BoldItalicFeatures={FakeBold=1.4,FakeStretch=.92,FakeSlant=0.1,LetterSpace=2}]{GFSDidot_Classic.otf}
+\newfontfamily{\latinfont}[ItalicFont=ugmri8a,BoldFont=ugmm8a,BoldItalicFont=ugmmi8a]{ugmr8a.otf}
+\setmathfont{Garamond-Math.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/fspgfsdidotot.tex b/macros/unicodetex/latex/fontsetup/tex/fspgfsdidotot.tex
new file mode 100644
index 0000000000..9ad64caa7b
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/fspgfsdidotot.tex
@@ -0,0 +1,21 @@
+\setmainfont[ItalicFont=GFSOlgaGrDidotItEn,
+ BoldFont=GFSDidotBold,
+ BoldItalicFont=GFSDidotBoldItalic,SlantedFont=GFSDidotItalic,
+ SmallCapsFeatures={Numbers=OldStyle}]{GFSDidot.otf}
+\setmathfont{NewCMMath-Book.otf}
+\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{GFSDidot.otf}
+\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{GFSDidotBold.otf}
+\setmathfont[range=\mathit/{greek,Greek}]{GFSOlga.otf}
+\setmathfont[range=\mathit/{num,latin,Latin}]{GFSDidotItalic.otf}
+\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{GFSDidotBoldItalic.otf}
+
+%%%%%%%%%% Fix epsilons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtBeginDocument{\renewcommand*{\epsilon}{\textit{ε}}
+\renewcommand*{\varepsilon}{\textsl{ε}}}
+%%%%%%%%% Fix phi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newfontfamily\phifix[Scale=1.2]{GFSDidotItalic.otf}
+\AtBeginDocument{\renewcommand*{\phi}{\textrm{\phifix\char"03D5}}}
+%%%%%%%%% Fix theta %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtBeginDocument{\renewcommand*{\theta}{\textsl{θ}}
+\renewcommand*{\vartheta}{\textit{θ}}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fspgfsneohellenicot.sty b/macros/unicodetex/latex/fontsetup/tex/fspgfsneohellenicot.tex
index 76e0d0a653..3a63d29f1c 100644
--- a/macros/unicodetex/latex/fontsetup/fspgfsneohellenicot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspgfsneohellenicot.tex
@@ -1,7 +1,4 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-\RequirePackage{fontspec}
-
\setmainfont[% main font
UprightFont=GFSNeohellenic,
ItalicFont=GFSNeohellenicIt,
@@ -15,15 +12,10 @@ SmallCapsFeatures={Numbers=OldStyle,WordSpace={0.75,0.75,1},LetterSpace=0.06}]{G
% RawFeature=+smcp,RawFeature=+onum,WordSpace={0.75,0.75,1},LetterSpace=0.06,%
% Scale=1.2%use instead of 12pt
%]{GFSNeohellenic.otf}
-
-
-\RequirePackage{unicode-math}
\setmathfont[%
Scale=1.2%use instead of 12pt
]{GFSNeohellenicMath.otf}
-
\renewcommand{\baselinestretch}{1.086} %~1/0.92, use when at 10pt scaled by 1.2
-
%%%%%%%%% special symbols %%%%%%%%%%%%%%%%%%%%%
%fixes the delimiters so that all big sizes appear. TeX default is 5pt.
% run texdoc mathmode and check the "problems with parentheses" section
@@ -46,8 +38,4 @@ SmallCapsFeatures={Numbers=OldStyle,WordSpace={0.75,0.75,1},LetterSpace=0.06}]{G
\DeclareRobustCommand\biggint{\mathop{\char"2B63}\nolimits}
\DeclareRobustCommand\Biggint{\mathop{\char"2B64}\nolimits}
\DeclareRobustCommand\bigggint{\mathop{\char"2B65}\nolimits}
-
-
-\renewcommand{\LaTeX}{L\kern-.75ex\raisebox{.7ex}{\textsc{a}}\kern-.1ex\hbox{T}\kern-.4ex\raisebox{-.5ex}{E}\kern-.3exX}
-
-\endinput \ No newline at end of file
+\renewcommand*{\LaTeX}{L\kern-.75ex\raisebox{.7ex}{\textsc{a}}\kern-.1ex\hbox{T}\kern-.4ex\raisebox{-.5ex}{E}\kern-.3exX} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fspkerkisot.sty b/macros/unicodetex/latex/fontsetup/tex/fspkerkisot.tex
index 8315fa6f9e..87069b47dc 100644
--- a/macros/unicodetex/latex/fontsetup/fspkerkisot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspkerkisot.tex
@@ -1,15 +1,8 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
\setmainfont[ItalicFont=Kerkis-Italic.otf,
BoldFont=Kerkis-Bold.otf,
BoldItalicFont=Kerkis-BoldItalic.otf,SmallCapsFont=Kerkis-SmallCaps.otf]{Kerkis.otf}
-
\setsansfont[ItalicFont=KerkisSans-Italic.otf,
BoldFont=KerkisSans-Bold.otf,
BoldItalicFont=KerkisSans-BoldItalic.otf,SmallCapsFont=KerkisSans-SmallCaps.otf]{KerkisSans.otf}
-
-\RequirePackage{unicode-math}
-\setmathfont{texgyrebonum-math.otf}
-
-\endinput \ No newline at end of file
+\setmathfont{texgyrebonum-math.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/tex/fspolddefault.tex b/macros/unicodetex/latex/fontsetup/tex/fspolddefault.tex
new file mode 100644
index 0000000000..29efde2e9f
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/fspolddefault.tex
@@ -0,0 +1,529 @@
+%% (C) Antonis Tsolomitis, GPL3.
+\setmainfont[%
+ SizeFeatures={%
+{Size=-8, Font=NewCM08-Regular.otf,
+ ItalicFont=NewCM08-Italic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ SlantedFont=NewCM08-Regular.otf,%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SmallCapsFeatures={Numbers=OldStyle}},
+{Size=8, Font=NewCM08-Regular.otf,
+ ItalicFont=NewCM08-Italic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ SlantedFont=NewCM08-Regular.otf,%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SmallCapsFeatures={Numbers=OldStyle}},
+{Size= 9-, Font = NewCM10-Regular.otf,
+ ItalicFont=NewCM10-Italic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ SlantedFont=NewCM10-Regular.otf,%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SmallCapsFeatures={Numbers=OldStyle}}%
+ },%
+ SmallCapsFeatures={Numbers=OldStyle},%
+ BoldSlantedFont=NewCM10-Bold.otf,%
+ SlantedFont=NewCM10-Regular.otf,%
+ BoldItalicFont=NewCM10-BoldItalic.otf,%
+ BoldFont=NewCM10-Bold.otf,%
+ ItalicFont=NewCM10-Italic.otf,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+]{NewCM10-Regular.otf}
+
+\setsansfont[%
+ SizeFeatures={%
+{Size= -8, Font=NewCMSans08-Regular.otf,%
+ ItalicFont=NewCMSans08-Oblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+},
+{Size= 8, Font=NewCMSans08-Regular.otf,%
+ ItalicFont=NewCMSans08-Oblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+},
+{Size= 9-, Font=NewCMSans10-Regular.otf,%
+ ItalicFont=NewCMSans10-Oblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+}},
+ ItalicFont=NewCMSans10-Oblique.otf,%
+ BoldFont=NewCMSans10-Bold.otf,%
+ BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+ SmallCapsFeatures={Numbers=OldStyle},%
+ SlantedFont=NewCMSans10-Oblique.otf,%
+ BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
+]{NewCMSans10-Regular.otf}
+
+\setmonofont[%
+ItalicFont=NewCMMono10-Italic.otf,%
+BoldFont=NewCMMono10-Bold.otf,%
+BoldItalicFont=NewCMMono10-BoldOblique.otf,%
+SlantedFont=NewCMMono10-Regular.otf,%
+SlantedFeatures={FakeSlant=0.25},
+BoldSlantedFont=NewCMMono10-Bold.otf,%
+BoldSlantedFeatures={FakeSlant=0.25},
+SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf}
+
+\newfontfamily\uncial[%
+ SizeFeatures={%
+{Size=-8, Font=NewCMUncial08-Regular.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial08-Regular.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size=8, Font=NewCMUncial08-Regular.otf,
+ BoldFont=NewCMUncial08-Bold.otf,%
+ SlantedFont=NewCMUncial08-regular.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ },
+{Size= 9-, Font = NewCMUncial10-Regular.otf,
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Regular.otf,%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ }%
+ },%
+ BoldSlantedFont=NewCMUncial10-Bold.otf,%
+ SlantedFont=NewCMUncial10-Regular.otf,%
+ BoldFont=NewCMUncial10-Bold.otf,%
+ SlantedFeatures={FakeSlant=0.25},%
+ BoldSlantedFeatures={FakeSlant=0.25},%
+ ]{NewCMUncial10-Regular.otf}
+
+\newcommand{\textuncial}[1]{{\uncial #1}}
+\setmathfont{NewCMMath-Regular.otf}
+\setmathfont[range={\mathscr,\mathbfscr},StylisticSet=1]{NewCMMath-Regular.otf}
+
+\newcommand{\tttextsc}[1]{{\ttscshape#1}}
+%
+\newcommand{\prosgegrammeni}{\addfontfeature{StylisticSet=1}}
+\newcommand{\textprosgegrammeni}[1]{{\prosgegrammeni#1}}
+%
+%\newfontfamily{\ivbce}[StylisticSet=2]{NewCMSans10-Regular.otf}
+\newcommand{\ivbce}{\sffamily\addfontfeature{StylisticSet=2}}
+\newcommand{\textivbce}[1]{{\ivbce#1}}
+%
+%\newfontfamily{\ivbcealt}[StylisticSet=3]{NewCMSans10-Regular.otf}
+\newcommand{\ivbcealt}{\sffamily\addfontfeature{StylisticSet=3}}
+\newcommand{\textivbcealt}[1]{{\ivbcealt#1}}
+%
+%\newfontfamily{\vibce}[StylisticSet=4]{NewCMSans10-Regular.otf}
+\newcommand{\vibce}{\sffamily\addfontfeature{StylisticSet=4}}
+\newcommand{\textvibce}[1]{{\vibce#1}}
+%
+%% math (upright) sans Greek
+\newcommand*{\msansAlpha}{\char"E000}
+\newcommand*{\msansBeta}{\char"E001}
+\newcommand*{\msansGamma}{\char"E002}
+\newcommand*{\msansDelta}{\char"E003}
+\newcommand*{\msansEpsilon}{\char"E004}
+\newcommand*{\msansZeta}{\char"E005}
+\newcommand*{\msansEta}{\char"E006}
+\newcommand*{\msansTheta}{\char"E007}
+\newcommand*{\msansIota}{\char"E008}
+\newcommand*{\msansKappa}{\char"E009}
+\newcommand*{\msansLambda}{\char"E00A}
+\newcommand*{\msansMu}{\char"E00B}
+\newcommand*{\msansNu}{\char"E00C}
+\newcommand*{\msansXi}{\char"E00D}
+\newcommand*{\msansOmicron}{\char"E00E}
+\newcommand*{\msansPi}{\char"E00F}
+\newcommand*{\msansRho}{\char"E010}
+\newcommand*{\msansSigma}{\char"E011}
+\newcommand*{\msansTau}{\char"E012}
+\newcommand*{\msansUpsilon}{\char"E013}
+\newcommand*{\msansPhi}{\char"E014}
+\newcommand*{\msansChi}{\char"E015}
+\newcommand*{\msansPsi}{\char"E016}
+\newcommand*{\msansOmega}{\char"E017}
+\newcommand*{\msansalpha}{\char"E018}
+\newcommand*{\msansbeta}{\char"E019}
+\newcommand*{\msansgamma}{\char"E01A}
+\newcommand*{\msansdelta}{\char"E01B}
+\newcommand*{\msansepsilon}{\char"E01C}
+\newcommand*{\msanszeta}{\char"E01D}
+\newcommand*{\msanseta}{\char"E01E}
+\newcommand*{\msanstheta}{\char"E01F}
+\newcommand*{\msansiota}{\char"E020}
+\newcommand*{\msanskappa}{\char"E021}
+\newcommand*{\msanslambda}{\char"E022}
+\newcommand*{\msansmu}{\char"E023}
+\newcommand*{\msansnu}{\char"E024}
+\newcommand*{\msansxi}{\char"E025}
+\newcommand*{\msansomicron}{\char"E026}
+\newcommand*{\msanspi}{\char"E027}
+\newcommand*{\msansrho}{\char"E028}
+\newcommand*{\msansvarsigma}{\char"E029}
+\newcommand*{\msanssigma}{\char"E02A}
+\newcommand*{\msanstau}{\char"E02B}
+\newcommand*{\msansupsilon}{\char"E02C}
+\newcommand*{\msansphi}{\char"E02D}
+\newcommand*{\msanschi}{\char"E02E}
+\newcommand*{\msanspsi}{\char"E02F}
+\newcommand*{\msansomega}{\char"E030}
+\newcommand*{\msansvarepsilon}{\char"E031}
+% math italic sans Greek
+\newcommand*{\mitsansAlpha}{\char"E041}
+\newcommand*{\mitsansBeta}{\char"E042}
+\newcommand*{\mitsansGamma}{\char"E043}
+\newcommand*{\mitsansDelta}{\char"E044}
+\newcommand*{\mitsansEpsilon}{\char"E045}
+\newcommand*{\mitsansZeta}{\char"E046}
+\newcommand*{\mitsansEta}{\char"E047}
+\newcommand*{\mitsansTheta}{\char"E048}
+\newcommand*{\mitsansIota}{\char"E049}
+\newcommand*{\mitsansKappa}{\char"E04A}
+\newcommand*{\mitsansLambda}{\char"E04B}
+\newcommand*{\mitsansMu}{\char"E04C}
+\newcommand*{\mitsansNu}{\char"E04D}
+\newcommand*{\mitsansXi}{\char"E04E}
+\newcommand*{\mitsansOmicron}{\char"E04F}
+\newcommand*{\mitsansPi}{\char"E050}
+\newcommand*{\mitsansRho}{\char"E051}
+\newcommand*{\mitsansSigma}{\char"E052}
+\newcommand*{\mitsansTau}{\char"E053}
+\newcommand*{\mitsansUpsilon}{\char"E054}
+\newcommand*{\mitsansPhi}{\char"E055}
+\newcommand*{\mitsansChi}{\char"E056}
+\newcommand*{\mitsansPsi}{\char"E057}
+\newcommand*{\mitsansOmega}{\char"E058}
+\newcommand*{\mitsansalpha}{\char"E059}
+\newcommand*{\mitsansbeta}{\char"E05A}
+\newcommand*{\mitsansgamma}{\char"E05B}
+\newcommand*{\mitsansdelta}{\char"E05C}
+\newcommand*{\mitsansepsilon}{\char"E05D}
+\newcommand*{\mitsanszeta}{\char"E05E}
+\newcommand*{\mitsanseta}{\char"E05F}
+\newcommand*{\mitsanstheta}{\char"E060}
+\newcommand*{\mitsansiota}{\char"E061}
+\newcommand*{\mitsanskappa}{\char"E062}
+\newcommand*{\mitsanslambda}{\char"E063}
+\newcommand*{\mitsansmu}{\char"E064}
+\newcommand*{\mitsansnu}{\char"E065}
+\newcommand*{\mitsansxi}{\char"E066}
+\newcommand*{\mitsansomicron}{\char"E067}
+\newcommand*{\mitsanspi}{\char"E068}
+\newcommand*{\mitsansrho}{\char"E069}
+\newcommand*{\mitsansvarsigma}{\char"E06A}
+\newcommand*{\mitsanssigma}{\char"E06B}
+\newcommand*{\mitsanstau}{\char"E06C}
+\newcommand*{\mitsansupsilon}{\char"E06D}
+\newcommand*{\mitsansphi}{\char"E06E}
+\newcommand*{\mitsanschi}{\char"E06F}
+\newcommand*{\mitsanspsi}{\char"E070}
+\newcommand*{\mitsansomega}{\char"E071}
+\newcommand*{\mitsansvarepsilon}{\char"E072}
+% Ancient Greek Numerals u10140-u1018E
+\newcommand*{\atticonequarter}{\char"10140}
+\newcommand*{\atticonehalf}{\char"10141}
+\newcommand*{\atticonedrachma}{\char"10142}
+\newcommand*{\atticfive}{\char"10143}
+\newcommand*{\atticfifty}{\char"10144}
+\newcommand*{\atticfivehundred}{\char"10145}
+\newcommand*{\atticfivethousand}{\char"10146}
+\newcommand*{\atticfiftythousand}{\char"10147}
+\newcommand*{\atticfivetalents}{\char"10148}
+\newcommand*{\attictentalents}{\char"10149}
+\newcommand*{\atticfiftytalents}{\char"1014A}
+\newcommand*{\atticonehundredtalents}{\char"1014B}
+\newcommand*{\atticfivehundredtalents}{\char"1014C}
+\newcommand*{\atticonethousandtalents}{\char"1014D}
+\newcommand*{\atticfivethousandtalents}{\char"1014E}
+\newcommand*{\atticfivestaters}{\char"1014F}
+\newcommand*{\attictenstaters}{\char"10150}
+\newcommand*{\atticfiftystaters}{\char"10151}
+\newcommand*{\atticonehundredstaters}{\char"10152}
+\newcommand*{\atticfivehundredstaters}{\char"10153}
+\newcommand*{\atticonethousandstaters}{\char"10154}
+\newcommand*{\attictenthousandstaters}{\char"10155}
+\newcommand*{\atticfiftythousandstaters}{\char"10156}
+\newcommand*{\attictenmnas}{\char"10157}
+\newcommand*{\heraleumoneplethron}{\char"10158}
+\newcommand*{\thespianone}{\char"10159}
+\newcommand*{\ermionianone}{\char"1015A}
+\newcommand*{\epidauriantwo}{\char"1015B}
+\newcommand*{\thespiantwo}{\char"1015C}
+\newcommand*{\cyrenaictwodrachmas}{\char"1015D}
+\newcommand*{\epidauriantwodrachmas}{\char"1015E}
+\newcommand*{\troezenianfive}{\char"1015F}
+\newcommand*{\troezenianten}{\char"10160}
+\newcommand*{\troezeniantenalt}{\char"10161}
+\newcommand*{\hermionianten}{\char"10162}
+\newcommand*{\messenianten}{\char"10163}
+\newcommand*{\thespianten}{\char"10164}
+\newcommand*{\thespianthirty}{\char"10165}
+\newcommand*{\troezenianfifty}{\char"10166}
+\newcommand*{\troezenianfiftyalt}{\char"10167}
+\newcommand*{\hermionianfifty}{\char"10168}
+\newcommand*{\thespianfifty}{\char"10169}
+\newcommand*{\thespianonehundred}{\char"1016A}
+\newcommand*{\thespianthreehundred}{\char"1016B}
+\newcommand*{\epidaurianfivehundred}{\char"1016C}
+\newcommand*{\troezenianfivehundred}{\char"1016D}
+\newcommand*{\thespianfivehundred}{\char"1016E}
+\newcommand*{\carystianfivehundred}{\char"1016F}
+\newcommand*{\naxianfivehundred}{\char"10170}
+\newcommand*{\thespianonethousand}{\char"10171}
+\newcommand*{\thespianfivethousand}{\char"10172}
+\newcommand*{\delphicfivemnas}{\char"10173}
+\newcommand*{\stratianfiftymnas}{\char"10174}
+\newcommand*{\greekonehalfsign}{\char"10175}
+\newcommand*{\greekonehalfsignalt}{\char"10176}
+\newcommand*{\greektwothirdssign}{\char"10177}
+\newcommand*{\greekthreequarterssign}{\char"10178}
+\newcommand*{\greekyearsign}{\char"10179}
+\newcommand*{\greektalentsign}{\char"1017A}
+\newcommand*{\greekdrachmasign}{\char"1017B}
+\newcommand*{\greekobolsign}{\char"1017C}
+\newcommand*{\greektwoobolssign}{\char"1017D}
+\newcommand*{\greekthreeobolssign}{\char"1017E}
+\newcommand*{\greekfourobolssign}{\char"1017F}
+\newcommand*{\greekfiveobolssign}{\char"10180}
+\newcommand*{\greekmetretessign}{\char"10181}
+\newcommand*{\greekkyathosbasesign}{\char"10182}
+\newcommand*{\greeklytrasign}{\char"10183}
+\newcommand*{\greekounkiasign}{\char"10184}
+\newcommand*{\greekxestessign}{\char"10185}
+\newcommand*{\greekartabesign}{\char"10186}
+\newcommand*{\greekarourasign}{\char"10187}
+\newcommand*{\greekgrammasign}{\char"10188}
+\newcommand*{\greektryblionbasesign}{\char"10189}
+\newcommand*{\greekzerosign}{\char"1018A}
+\newcommand*{\greekonequartersign}{\char"1018B}
+\newcommand*{\greeksinusoidsign}{\char"1018C}
+\newcommand*{\greekindictionsign}{\char"1018D}
+\newcommand*{\nomismasign}{\char"1018E}
+%
+% some math symbols
+\DeclareRobustCommand*\nrightrightarrows{\mathrel{\char"E033}}
+\DeclareRobustCommand*\nleftleftarrows{\mathrel{\char"E032}}
+%
+% select ss02 lookup table for IPA symbols
+%\newfontfamily{\ipatext}[StylisticSet=5,%
+%BoldFont=NewCM10-Bold.otf,%
+%SlantedFont=NewCM10-Regular.otf,%
+%SlantedFeatures={FakeSlant=0.25},
+%BoldSlantedFont=NewCM10-Bold.otf,%
+%BoldSlantedFeatures={FakeSlant=0.25},
+%SmallCapsFeatures={Numbers=OldStyle}]{NewCM10-Regular.otf}
+\newcommand{\ipatext}{\addfontfeature{StylisticSet=5}}
+\newcommand{\textipa}[1]{{\ipatext#1}}
+\newcommand{\oldipatext}{\addfontfeature{StylisticSet=5,RawFeature=+lipa}}
+\newcommand{\textoldipa}[1]{{\oldipatext#1}}
+%\newfontfamily{\ipatextsans}[StylisticSet=5,%
+%ItalicFont=NewCMSans10-Oblique.otf,%
+%BoldFont=NewCMSans10-Bold.otf,%
+%BoldItalicFont=NewCMSans10-BoldOblique.otf,%
+%SlantedFont=NewCMSans10-Oblique.otf,%
+%BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
+%SmallCapsFeatures={Numbers=OldStyle}]{NewCMSans10-Regular.otf}
+%\newcommand{\ipatextsans}{\sffamily\addfontfeature{StylisticSet=5}}
+%\newcommand{\textsansipa}[1]{{\ipatextsans#1}}
+%
+% Up versions for chemistry
+\newcommand*{\chemalpha}{\textrm{α}}
+\newcommand*{\chembeta}{\textrm{β}}
+\newcommand*{\chemgamma}{\textrm{γ}}
+\newcommand*{\chemdelta}{\textrm{δ}}
+\newcommand*{\chemepsilon}{\textrm{ε}}
+\newcommand*{\chemzeta}{\textrm{ζ}}
+\newcommand*{\chemeta}{\textrm{η}}
+\newcommand*{\chemtheta}{\textrm{θ}}
+\newcommand*{\chemiota}{\textrm{ι}}
+\newcommand*{\chemkappa}{\textrm{\char"03F0}}
+\newcommand*{\chemlambda}{\textrm{λ}}
+\newcommand*{\chemmu}{\textrm{μ}}
+\newcommand*{\chemnu}{\textrm{ν}}
+\newcommand*{\chemxi}{\textrm{ξ}}
+\newcommand*{\chemomicron}{\textrm{ο}}
+\newcommand*{\chempi}{\textrm{π}}
+\newcommand*{\chemrho}{\textrm{ρ}}
+\newcommand*{\chemrhoalt}{\textrm{\char"03F1}}
+\newcommand*{\chemsigma}{\textrm{σ}}
+\newcommand*{\chemsigmaalt}{\textrm{ς}}
+\newcommand*{\chemtau}{\textrm{τ}}
+\newcommand*{\chemupsilon}{\textrm{υ}}
+\newcommand*{\chemphi}{\textrm{φ}}
+\newcommand*{\chemchi}{\textrm{χ}}
+\newcommand*{\chempsi}{\textrm{ψ}}
+\newcommand*{\chemomega}{\textrm{ω}}
+%
+\newcommand*{\chemAlpha}{\textrm{Α}}
+\newcommand*{\chemBeta}{\textrm{Β}}
+\newcommand*{\chemGamma}{\textrm{Γ}}
+\newcommand*{\chemDelta}{\textrm{Δ}}
+\newcommand*{\chemEpsilon}{\textrm{Ε}}
+\newcommand*{\chemZeta}{\textrm{Ζ}}
+\newcommand*{\chemEta}{\textrm{Η}}
+\newcommand*{\chemTheta}{\textrm{Θ}}
+\newcommand*{\chemIota}{\textrm{Ι}}
+\newcommand*{\chemKappa}{\textrm{Κ}}
+\newcommand*{\chemLambda}{\textrm{Λ}}
+\newcommand*{\chemMu}{\textrm{Μ}}
+\newcommand*{\chemNu}{\textrm{Ν}}
+\newcommand*{\chemXi}{\textrm{Ξ}}
+\newcommand*{\chemOmicron}{\textrm{Ο}}
+\newcommand*{\chemPi}{\textrm{Π}}
+\newcommand*{\chemRho}{\textrm{Ρ}}
+\newcommand*{\chemSigma}{\textrm{Σ}}
+\newcommand*{\chemTau}{\textrm{Τ}}
+\newcommand*{\chemUpsilon}{\textrm{Υ}}
+\newcommand*{\chemPhi}{\textrm{Φ}}
+\newcommand*{\chemChi}{\textrm{Χ}}
+\newcommand*{\chemPsi}{\textrm{Ψ}}
+\newcommand*{\chemOmega}{\textrm{Ω}}
+%
+%% Next block enables Devanagari letters as variables in Math font
+\Umathcode "0900 7 \symoperators "0900%
+\Umathcode "0901 7 \symoperators "0901%
+\Umathcode "0902 7 \symoperators "0902%
+\Umathcode "0903 7 \symoperators "0903%
+\Umathcode "0904 7 \symoperators "0904%
+\Umathcode "0905 7 \symoperators "0905%
+\Umathcode "0906 7 \symoperators "0906%
+\Umathcode "0907 7 \symoperators "0907%
+\Umathcode "0908 7 \symoperators "0908%
+\Umathcode "0909 7 \symoperators "0909%
+\Umathcode "090A 7 \symoperators "090A%
+\Umathcode "090B 7 \symoperators "090B%
+\Umathcode "090C 7 \symoperators "090C%
+\Umathcode "090D 7 \symoperators "090D%
+\Umathcode "090E 7 \symoperators "090E%
+\Umathcode "090F 7 \symoperators "090F%
+%
+\Umathcode "0910 7 \symoperators "0910%
+\Umathcode "0911 7 \symoperators "0911%
+\Umathcode "0912 7 \symoperators "0912%
+\Umathcode "0913 7 \symoperators "0913%
+\Umathcode "0914 7 \symoperators "0914%
+\Umathcode "0915 7 \symoperators "0915%
+\Umathcode "0916 7 \symoperators "0916%
+\Umathcode "0917 7 \symoperators "0917%
+\Umathcode "0918 7 \symoperators "0918%
+\Umathcode "0919 7 \symoperators "0919%
+\Umathcode "091A 7 \symoperators "091A%
+\Umathcode "091B 7 \symoperators "091B%
+\Umathcode "091C 7 \symoperators "091C%
+\Umathcode "091D 7 \symoperators "091D%
+\Umathcode "091E 7 \symoperators "091E%
+\Umathcode "091F 7 \symoperators "091F%
+%
+\Umathcode "0920 7 \symoperators "0920%
+\Umathcode "0921 7 \symoperators "0921%
+\Umathcode "0922 7 \symoperators "0922%
+\Umathcode "0923 7 \symoperators "0923%
+\Umathcode "0924 7 \symoperators "0924%
+\Umathcode "0925 7 \symoperators "0925%
+\Umathcode "0926 7 \symoperators "0926%
+\Umathcode "0927 7 \symoperators "0927%
+\Umathcode "0928 7 \symoperators "0928%
+\Umathcode "0929 7 \symoperators "0929%
+\Umathcode "092A 7 \symoperators "092A%
+\Umathcode "092B 7 \symoperators "092B%
+\Umathcode "092C 7 \symoperators "092C%
+\Umathcode "092D 7 \symoperators "092D%
+\Umathcode "092E 7 \symoperators "092E%
+\Umathcode "092F 7 \symoperators "092F%
+%
+\Umathcode "0930 7 \symoperators "0930%
+\Umathcode "0931 7 \symoperators "0931%
+\Umathcode "0932 7 \symoperators "0932%
+\Umathcode "0933 7 \symoperators "0933%
+\Umathcode "0934 7 \symoperators "0934%
+\Umathcode "0935 7 \symoperators "0935%
+\Umathcode "0936 7 \symoperators "0936%
+\Umathcode "0937 7 \symoperators "0937%
+\Umathcode "0938 7 \symoperators "0938%
+\Umathcode "0939 7 \symoperators "0939%
+\Umathcode "093A 7 \symoperators "093A%
+\Umathcode "093B 7 \symoperators "093B%
+\Umathcode "093C 7 \symoperators "093C%
+\Umathcode "093D 7 \symoperators "093D%
+\Umathcode "093E 7 \symoperators "093E%
+\Umathcode "093F 7 \symoperators "093F%
+%
+\Umathcode "0940 7 \symoperators "0940%
+\Umathcode "0941 7 \symoperators "0941%
+\Umathcode "0942 7 \symoperators "0942%
+\Umathcode "0943 7 \symoperators "0943%
+\Umathcode "0944 7 \symoperators "0944%
+\Umathcode "0945 7 \symoperators "0945%
+\Umathcode "0946 7 \symoperators "0946%
+\Umathcode "0947 7 \symoperators "0947%
+\Umathcode "0948 7 \symoperators "0948%
+\Umathcode "0949 7 \symoperators "0949%
+\Umathcode "094A 7 \symoperators "094A%
+\Umathcode "094B 7 \symoperators "094B%
+\Umathcode "094C 7 \symoperators "094C%
+\Umathcode "094D 7 \symoperators "094D%
+\Umathcode "094E 7 \symoperators "094E%
+\Umathcode "094F 7 \symoperators "094F%
+%
+\Umathcode "0950 7 \symoperators "0950%
+\Umathcode "0951 7 \symoperators "0951%
+\Umathcode "0952 7 \symoperators "0952%
+\Umathcode "0953 7 \symoperators "0953%
+\Umathcode "0954 7 \symoperators "0954%
+\Umathcode "0955 7 \symoperators "0955%
+\Umathcode "0956 7 \symoperators "0956%
+\Umathcode "0957 7 \symoperators "0957%
+\Umathcode "0958 7 \symoperators "0958%
+\Umathcode "0959 7 \symoperators "0959%
+\Umathcode "095A 7 \symoperators "095A%
+\Umathcode "095B 7 \symoperators "095B%
+\Umathcode "095C 7 \symoperators "095C%
+\Umathcode "095D 7 \symoperators "095D%
+\Umathcode "095E 7 \symoperators "095E%
+\Umathcode "095F 7 \symoperators "095F%
+%
+\Umathcode "0960 7 \symoperators "0960%
+\Umathcode "0961 7 \symoperators "0961%
+\Umathcode "0962 7 \symoperators "0962%
+\Umathcode "0963 7 \symoperators "0963%
+\Umathcode "0964 7 \symoperators "0964%
+\Umathcode "0965 7 \symoperators "0965%
+\Umathcode "0966 7 \symoperators "0966%
+\Umathcode "0967 7 \symoperators "0967%
+\Umathcode "0968 7 \symoperators "0968%
+\Umathcode "0969 7 \symoperators "0969%
+\Umathcode "096A 7 \symoperators "096A%
+\Umathcode "096B 7 \symoperators "096B%
+\Umathcode "096C 7 \symoperators "096C%
+\Umathcode "096D 7 \symoperators "096D%
+\Umathcode "096E 7 \symoperators "096E%
+\Umathcode "096F 7 \symoperators "096F%
+%
+\Umathcode "0970 7 \symoperators "0970%
+\Umathcode "0971 7 \symoperators "0971%
+\Umathcode "0972 7 \symoperators "0972%
+\Umathcode "0973 7 \symoperators "0973%
+\Umathcode "0974 7 \symoperators "0974%
+\Umathcode "0975 7 \symoperators "0975%
+\Umathcode "0976 7 \symoperators "0976%
+\Umathcode "0977 7 \symoperators "0977%
+\Umathcode "0978 7 \symoperators "0978%
+\Umathcode "0979 7 \symoperators "0979%
+\Umathcode "097A 7 \symoperators "097A%
+\Umathcode "097B 7 \symoperators "097B%
+\Umathcode "097C 7 \symoperators "097C%
+\Umathcode "097D 7 \symoperators "097D%
+\Umathcode "097E 7 \symoperators "097E%
+\Umathcode "097F 7 \symoperators "097F%
+%\Umathcode `ज 7 \symoperators "091C%
+%\Umathcode `अ 7 \symoperators "0905%
+%\Umathcode "0905 7 \symoperators "0905%
+%\Umathcode `क 7 \symoperators "0915%
+%\Umathcode `ख 7 \symoperators "0916%
+%\Umathcode `२ 7 \symoperators "0968%
+%\count255="0900
+% \loop\ifnum\count255<"097F
+% \advance\count255 by 1
+% \Umathcode \count255 7 \symoperators \count255\fi
+% \repeat
+%%%%%%%%%%%%%%% End Devanagari Variables block %%%%%%%%
diff --git a/macros/unicodetex/latex/fontsetup/tex/fspoldstandard.tex b/macros/unicodetex/latex/fontsetup/tex/fspoldstandard.tex
new file mode 100644
index 0000000000..7598bf5459
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/tex/fspoldstandard.tex
@@ -0,0 +1,12 @@
+\defaultfontfeatures{Ligatures=TeX}
+\setmainfont[%
+ItalicFont=OldStandard-Italic.otf,
+BoldFont=OldStandard-Bold.otf,
+BoldItalicFont=OldStandard-BoldItalic.otf,
+SmallCapsFeatures={Numbers=OldStyle}]{OldStandard-Regular.otf}
+%\setmathfont{Garamond-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}
+\setmathfont{OldStandard-Math.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fspstixtwoot.sty b/macros/unicodetex/latex/fontsetup/tex/fspstixtwoot.tex
index 2d93f80ba1..f629d9913e 100644
--- a/macros/unicodetex/latex/fontsetup/fspstixtwoot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspstixtwoot.tex
@@ -1,7 +1,4 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
-
\setmainfont[%
Script=Default,% make small caps work for both latn and grek
ItalicFont=STIXTwoText-Italic.otf,
@@ -9,9 +6,4 @@
BoldItalicFont=STIXTwoText-BoldItalic.otf,
% RawFeature=+pnum,% variable width numbers
SmallCapsFeatures={Numbers=OldStyle}]{STIXTwoText-Regular.otf}
-
-\RequirePackage{unicode-math}
-\setmathfont{STIXTwoMath-Regular.otf}
-
-
-\endinput
+\setmathfont{STIXTwoMath-Regular.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fsptalos.sty b/macros/unicodetex/latex/fontsetup/tex/fsptalos.tex
index 40e5b2809f..cc8d3d28b9 100644
--- a/macros/unicodetex/latex/fontsetup/fsptalos.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fsptalos.tex
@@ -1,12 +1,9 @@
-\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,%
@@ -15,7 +12,6 @@ SmallCapsFeatures={Numbers=OldStyle},%
SlantedFont=NewCMSans10-BookOblique.otf,%
BoldSlantedFont=NewCMSans10-BoldOblique.otf,%
]{NewCMSans10-Book.otf}
-
\setmonofont[%
ItalicFont=NewCMMono10-BookItalic.otf,%
BoldFont=NewCMMono10-Bold.otf,%
@@ -25,9 +21,4 @@ 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
+\setmathfont{NewCMMath-Book.otf} \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fsptimesot.sty b/macros/unicodetex/latex/fontsetup/tex/fsptimesot.tex
index 01ff0fc753..a1f90a8990 100644
--- a/macros/unicodetex/latex/fontsetup/fsptimesot.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fsptimesot.tex
@@ -1,16 +1,11 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
\setmainfont[ItalicFont=FreeSerifbItalic.otf,
BoldFont=FreeSerifbBold.otf,
BoldItalicFont=FreeSerifbBoldItalic.otf,SmallCapsFont=FreeSerifb-SmallCapsAlt.otf]{FreeSerifb.otf}
-
-\RequirePackage{unicode-math}
%\setmathfont{XITSMath-Regular.otf}
\setmathfont{STIXTwoMath-Regular.otf}
\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{FreeSerifb.otf}
\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{FreeSerifbBold.otf}
\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{FreeSerifbItalic.otf}
\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{FreeSerifbBoldItalic.otf}
-
-\endinput
+\endinput \ No newline at end of file
diff --git a/macros/unicodetex/latex/fontsetup/fspxcharter.sty b/macros/unicodetex/latex/fontsetup/tex/fspxcharter.tex
index 9267191eab..cde4bf0884 100644
--- a/macros/unicodetex/latex/fontsetup/fspxcharter.sty
+++ b/macros/unicodetex/latex/fontsetup/tex/fspxcharter.tex
@@ -1,8 +1,4 @@
-\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
-
-\RequirePackage{xcharter-otf}
-
\setsansfont[%
ItalicFont=CabinCondensed-ItalicCondensed.otf,%
BoldFont=CabinCondensed-SemiBoldCondensed.otf,%
@@ -14,7 +10,6 @@ BoldSlantedFont=CabinCondensed-SemiBoldCondensed.otf,%
BoldSlantedFeatures={FakeSlant=0.25},
Scale=MatchLowercase
]{CabinCondensed-RegularCondensed.otf}
-
\setmonofont[%
BoldFont=Inconsolatazi4-Bold.otf,%
SlantedFont=Inconsolatazi4-Regular.otf,%
@@ -22,7 +17,4 @@ SlantedFeatures={FakeSlant=0.25},
BoldSlantedFont=,%
BoldSlantedFeatures={FakeSlant=0.25},
SmallCapsFeatures={Numbers=OldStyle},
-Scale=MatchLowercase]{Inconsolatazi4-Regular.otf}
-
-
-\endinput
+Scale=MatchLowercase]{Inconsolatazi4-Regular.otf} \ No newline at end of file