summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/fontsetup/fsppalatinoot.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/fontsetup/fsppalatinoot.sty')
-rw-r--r--macros/unicodetex/latex/fontsetup/fsppalatinoot.sty17
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/unicodetex/latex/fontsetup/fsppalatinoot.sty b/macros/unicodetex/latex/fontsetup/fsppalatinoot.sty
new file mode 100644
index 0000000000..3487754dde
--- /dev/null
+++ b/macros/unicodetex/latex/fontsetup/fsppalatinoot.sty
@@ -0,0 +1,17 @@
+\RequirePackage{fontspec}
+\defaultfontfeatures{Ligatures=TeX}
+
+\newfontfamily{\defaultfont}[SmallCapsFeatures={Numbers=OldStyle}]{Palatino Linotype}
+
+\newfontfamily{\greekfont}[SmallCapsFont=fsplpscel]{Palatino Linotype}
+
+\RequirePackage[Latin, Greek]{ucharclasses}
+\setDefaultTransitions{\defaultfont}{}
+\setTransitionsForLatin{\defaultfont}{}
+\setTransitionsForGreek{\greekfont}{}
+
+\RequirePackage{unicode-math}
+\setmathfont{texgyrepagella-math.otf}
+
+
+\endinput