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