summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsetup/fspgfsartemisiaot.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-24 03:00:49 +0000
committerNorbert Preining <norbert@preining.info>2019-11-24 03:00:49 +0000
commit4ce3a0d4729af1865e66c9c1cd967f42b0830d26 (patch)
tree72eb6f1bfdde6ea4d196d2ee18e43df324be86ff /macros/latex/contrib/fontsetup/fspgfsartemisiaot.sty
parentce62a0079d7ae24531c203f5758502c163280ff7 (diff)
CTAN sync 201911240300
Diffstat (limited to 'macros/latex/contrib/fontsetup/fspgfsartemisiaot.sty')
-rw-r--r--macros/latex/contrib/fontsetup/fspgfsartemisiaot.sty16
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/latex/contrib/fontsetup/fspgfsartemisiaot.sty b/macros/latex/contrib/fontsetup/fspgfsartemisiaot.sty
new file mode 100644
index 0000000000..c4dc761f87
--- /dev/null
+++ b/macros/latex/contrib/fontsetup/fspgfsartemisiaot.sty
@@ -0,0 +1,16 @@
+\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{STIX2Math.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