summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsetup/fspgfsdidotot.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-26 03:03:17 +0000
committerNorbert Preining <norbert@preining.info>2020-09-26 03:03:17 +0000
commit66ebd4914b367eb00a52ce5d5bb51f695101931b (patch)
treee5e4a5148bbf213f7ecc242d333bbde165d41e3b /macros/latex/contrib/fontsetup/fspgfsdidotot.sty
parent56c9134f4aa02292ed17e726efd8e493b90e6011 (diff)
CTAN sync 202009260303
Diffstat (limited to 'macros/latex/contrib/fontsetup/fspgfsdidotot.sty')
-rw-r--r--macros/latex/contrib/fontsetup/fspgfsdidotot.sty49
1 files changed, 0 insertions, 49 deletions
diff --git a/macros/latex/contrib/fontsetup/fspgfsdidotot.sty b/macros/latex/contrib/fontsetup/fspgfsdidotot.sty
deleted file mode 100644
index f8c312c02c..0000000000
--- a/macros/latex/contrib/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