diff options
author | Karl Berry <karl@freefriends.org> | 2023-12-16 20:52:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-12-16 20:52:02 +0000 |
commit | 5a440c04ae31cde08b2dd427992abd819fa1c0a2 (patch) | |
tree | 387ae50d8cad2e215bb60b3410b1ca8b9779d268 /Master/texmf-dist/tex/latex/fontsetup | |
parent | e3025fe2f02625a6cb439b6b4226e6d535af7552 (diff) |
fontsetup (16dec23)
git-svn-id: svn://tug.org/texlive/trunk@69149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsetup')
29 files changed, 1465 insertions, 1183 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsetup/cv04-Book.fontspec b/Master/texmf-dist/tex/latex/fontsetup/cv04-Book.fontspec new file mode 100644 index 00000000000..1f123b886bd --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/cv04-Regular.fontspec b/Master/texmf-dist/tex/latex/fontsetup/cv04-Regular.fontspec new file mode 100644 index 00000000000..3543370c159 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/cv04Mono-Book.fontspec b/Master/texmf-dist/tex/latex/fontsetup/cv04Mono-Book.fontspec new file mode 100644 index 00000000000..5cd5f508595 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/cv04Mono-Regular.fontspec b/Master/texmf-dist/tex/latex/fontsetup/cv04Mono-Regular.fontspec new file mode 100644 index 00000000000..6f904acd314 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/cv04Sans-Book.fontspec b/Master/texmf-dist/tex/latex/fontsetup/cv04Sans-Book.fontspec new file mode 100644 index 00000000000..b5c7c993269 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/cv04Sans-Regular.fontspec b/Master/texmf-dist/tex/latex/fontsetup/cv04Sans-Regular.fontspec new file mode 100644 index 00000000000..d7a442e0e6a --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty index 5d40b84f277..5479b8d2946 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty @@ -1,217 +1,170 @@ -%\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’}} -% +\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 -\DeclareOption{upint}{\@upinttrue} -% \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} -% -\newif\if@amsbb -\DeclareOption{amsbb}{\@amsbbtrue} -% +\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 - -%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} -%%% -% -%%% +\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 -}{%the user runs 8bit engine -\relax} - - - +} \endinput - diff --git a/Master/texmf-dist/tex/latex/fontsetup/fspconcrete.sty b/Master/texmf-dist/tex/latex/fontsetup/fspconcrete.tex index 45549174b7f..1acc74c3d46 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspconcrete.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspdefault.sty b/Master/texmf-dist/tex/latex/fontsetup/fspdefault.sty deleted file mode 100644 index 2eb60881f96..00000000000 --- a/Master/texmf-dist/tex/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/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex b/Master/texmf-dist/tex/latex/fontsetup/fspdefault.tex new file mode 100644 index 00000000000..3acf4df58cc --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspebgaramondot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspebgaramondot.tex index a819513535f..8d8802fbd66 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspebgaramondot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fsperewhon.sty b/Master/texmf-dist/tex/latex/fontsetup/fsperewhon.tex index 738e8c1db9d..5f4409268de 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fsperewhon.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspeulerot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspeulerot.tex index 55442dfe1c1..c2ea8788e3a 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspeulerot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspfiraot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspfiraot.tex index 172bf45dab9..de802b49f5b 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspfiraot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspgfsartemisiaot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspgfsartemisiaot.tex index e63cb93d19f..50b0d103687 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspgfsartemisiaot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotclassicot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotclassicot.sty deleted file mode 100644 index d1f26d14c75..00000000000 --- a/Master/texmf-dist/tex/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/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotclassicot.tex b/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotclassicot.tex new file mode 100644 index 00000000000..a9ea8720f23 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotot.sty deleted file mode 100644 index f8c312c02c2..00000000000 --- a/Master/texmf-dist/tex/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/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotot.tex b/Master/texmf-dist/tex/latex/fontsetup/fspgfsdidotot.tex new file mode 100644 index 00000000000..9ad64caa7b9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspgfsneohellenicot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspgfsneohellenicot.tex index 76e0d0a6537..3a63d29f1ce 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspgfsneohellenicot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspkerkisot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspkerkisot.tex index 8315fa6f9e2..87069b47dcc 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspkerkisot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty b/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.sty deleted file mode 100644 index fbe816a4a5a..00000000000 --- a/Master/texmf-dist/tex/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/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex b/Master/texmf-dist/tex/latex/fontsetup/fspolddefault.tex new file mode 100644 index 00000000000..29efde2e9f6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.sty b/Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.sty deleted file mode 100644 index ae76a1e2dad..00000000000 --- a/Master/texmf-dist/tex/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/Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.tex b/Master/texmf-dist/tex/latex/fontsetup/fspoldstandard.tex new file mode 100644 index 00000000000..7598bf54599 --- /dev/null +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspstixtwoot.sty b/Master/texmf-dist/tex/latex/fontsetup/fspstixtwoot.tex index 2d93f80ba17..f629d9913ea 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspstixtwoot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fsptalos.sty b/Master/texmf-dist/tex/latex/fontsetup/fsptalos.tex index 40e5b2809f2..cc8d3d28b91 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fsptalos.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fsptimesot.sty b/Master/texmf-dist/tex/latex/fontsetup/fsptimesot.tex index 01ff0fc7536..a1f90a89909 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fsptimesot.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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/Master/texmf-dist/tex/latex/fontsetup/fspxcharter.sty b/Master/texmf-dist/tex/latex/fontsetup/fspxcharter.tex index 9267191eab7..cde4bf08846 100644 --- a/Master/texmf-dist/tex/latex/fontsetup/fspxcharter.sty +++ b/Master/texmf-dist/tex/latex/fontsetup/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 |