summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsetup/fspolddefault.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/fontsetup/fspolddefault.sty')
-rw-r--r--macros/latex/contrib/fontsetup/fspolddefault.sty18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/latex/contrib/fontsetup/fspolddefault.sty b/macros/latex/contrib/fontsetup/fspolddefault.sty
index e55f59e917..1c52a8ff0c 100644
--- a/macros/latex/contrib/fontsetup/fspolddefault.sty
+++ b/macros/latex/contrib/fontsetup/fspolddefault.sty
@@ -231,3 +231,21 @@ SmallCapsFeatures={Numbers=OldStyle}]{NewCMMono10-Regular.otf}
% 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{\textipa}[1]{{\ipatext#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{\textsansipa}[1]{{\ipatextsans#1}}