summaryrefslogtreecommitdiff
path: root/fonts/xcharter-math/xcharter-otf.sty
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/xcharter-math/xcharter-otf.sty')
-rw-r--r--fonts/xcharter-math/xcharter-otf.sty62
1 files changed, 22 insertions, 40 deletions
diff --git a/fonts/xcharter-math/xcharter-otf.sty b/fonts/xcharter-math/xcharter-otf.sty
index 694ea0d64f..32eca6012b 100644
--- a/fonts/xcharter-math/xcharter-otf.sty
+++ b/fonts/xcharter-math/xcharter-otf.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}[2018/01/01]
-\def\fileversion{0.31}
-\def\filedate{2022-04-06}
+\def\fileversion{0.32}
+\def\filedate{2022-05-04}
\ProvidesPackage{xcharter-otf}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
@@ -58,6 +58,7 @@
% Text Serif fonts: XCharter with possible scaling.
\ifXCot@notext
\else
+ \RequirePackage{realscripts}
\setmainfont{XCharter}[\unexpanded\expandafter{\the\XCottoksT}]
\fi
@@ -66,40 +67,17 @@
\AtBeginDocument{%
% XCharter specific math
- \Umathchardef\Bbbbackslash = 0 0 "E020 \relax
+ % \Umathchardef\<cmd> = <math type> <family> <slot>
+ % <math type> : \mathord=0 \mathrel=3 ; <family>=0
\Umathchardef\varemptyset = 0 0 "E021 \relax
\Umathchardef\mupvarzero = 0 0 "E022 \relax
\Umathchardef\mbfvarzero = 0 0 "E023 \relax
- \Umathchardef\mupvarvarpi = 0 0 "E032 \relax
- \Umathchardef\mbfvarpartial = 0 0 "E040 \relax
- \Umathchardef\mbfvarvarrho = 0 0 "E041 \relax
- \Umathchardef\mbfvarvarpi = 0 0 "E042 \relax
- \Umathchardef\mbfvec = 0 0 "E044 \relax
- \Umathchardef\mbfwp = 0 0 "E045 \relax
+ \Umathchardef\varpropto = 0 0 "E02F \relax
\Umathchardef\mbfdotlessi = 0 0 "E046 \relax
\Umathchardef\mbfdotlessj = 0 0 "E047 \relax
- \Umathchardef\mbfhbar = 0 0 "E048 \relax
- \Umathchardef\mbfell = 0 0 "E049 \relax
- \Umathchardef\mbftriangleleft = 0 0 "E04E \relax
- \Umathchardef\mbftriangleright = 0 0 "E04F \relax
- \Umathchardef\mbfitvarpartial = 0 0 "E060 \relax
- \Umathchardef\mbfitvarvarrho = 0 0 "E061 \relax
- \Umathchardef\mbfitvarvarpi = 0 0 "E062 \relax
- \Umathchardef\mbfitwp = 0 0 "E065 \relax
\Umathchardef\mbfimath = 0 0 "E066 \relax
\Umathchardef\mbfjmath = 0 0 "E067 \relax
- \Umathchardef\mbfithbar = 0 0 "E068 \relax
- \Umathchardef\mbfitell = 0 0 "E069 \relax
- \Umathchardef\varsymbfscrE = 0 0 "E06D \relax
- \Umathchardef\varsymbfscrQ = 0 0 "E06E \relax
- \Umathchardef\varsymbfscrT = 0 0 "E06F \relax
- \Umathchardef\mitvarpartial = 0 0 "E070 \relax
- \Umathchardef\mitvarvarrho = 0 0 "E071 \relax
- \Umathchardef\mitvarvarpi = 0 0 "E072 \relax
\Umathchardef\mithbar = 0 0 "E078 \relax
- \Umathchardef\varsymscrE = 0 0 "E07D \relax
- \Umathchardef\varsymscrQ = 0 0 "E07E \relax
- \Umathchardef\varsymscrT = 0 0 "E07F \relax
\Umathchardef\parallelslant = 3 0 "E090 \relax
\Umathchardef\nparallelslant = 3 0 "E091 \relax
\Umathchardef\shortparallelslant = 3 0 "E092 \relax
@@ -108,12 +86,14 @@
\Umathchardef\gtreqslantless = 3 0 "E095 \relax
\Umathchardef\lesseqqslantgtr = 3 0 "E096 \relax
\Umathchardef\gtreqqslantless = 3 0 "E097 \relax
- \Umathchardef\npreceq = 3 0 "E098 \relax
- \Umathchardef\nsucceq = 3 0 "E099 \relax
- \Umathchardef\nleqqslant = 3 0 "E09A \relax
- \Umathchardef\ngeqqslant = 3 0 "E09B \relax
- \Umathchardef\nsubseteqq = 3 0 "E0AE \relax
- \Umathchardef\nsupseteqq = 3 0 "E0AF \relax
+ \Umathchardef\nleqqslant = 3 0 "E098 \relax
+ \Umathchardef\ngeqqslant = 3 0 "E099 \relax
+ \Umathchardef\varsymscrE = 0 0 "E07D \relax
+ \Umathchardef\varsymscrQ = 0 0 "E07E \relax
+ \Umathchardef\varsymscrT = 0 0 "E07F \relax
+ \Umathchardef\varsymbfscrE = 0 0 "E06D \relax
+ \Umathchardef\varsymbfscrQ = 0 0 "E06E \relax
+ \Umathchardef\varsymbfscrT = 0 0 "E06F \relax
% \widearc and\overrightarc
\newcommand*{\widearc}{\Umathaccent 0 0 "E540 }%
\newcommand*{\overrightarc}{\Umathaccent 0 0 "20D5 }%
@@ -137,16 +117,18 @@
\Umathchardef\nshortparallel = 3 0 "E0A5 \relax
\Umathchardef\lvertneqq = 3 0 "E0A6 \relax
\Umathchardef\gvertneqq = 3 0 "E0A7 \relax
- \Umathchardef\varsubsetneq = 3 0 "E0AC \relax
- \Umathchardef\varsupsetneq = 3 0 "E0AD \relax
- \Umathchardef\varsubsetneqq = 3 0 "E09C \relax
- \Umathchardef\varsupsetneqq = 3 0 "E09D \relax
\Umathchardef\nleqslant = 3 0 "E0A8 \relax
\Umathchardef\ngeqslant = 3 0 "E0A9 \relax
\Umathchardef\nleqq = 3 0 "E0AA \relax
\Umathchardef\ngeqq = 3 0 "E0AB \relax
- \Umathchardef\npreceq = 3 0 "E098 \relax
- \Umathchardef\nsucceq = 3 0 "E099 \relax
+ \Umathchardef\varsubsetneq = 3 0 "E0AC \relax
+ \Umathchardef\varsupsetneq = 3 0 "E0AD \relax
+ \Umathchardef\nsubseteqq = 3 0 "E0AE \relax
+ \Umathchardef\nsupseteqq = 3 0 "E0AF \relax
+ \Umathchardef\varsubsetneqq = 3 0 "E09C \relax
+ \Umathchardef\varsupsetneqq = 3 0 "E09D \relax
+ \Umathchardef\npreceq = 3 0 "E09E \relax
+ \Umathchardef\nsucceq = 3 0 "E09F \relax
\let\centerdot\cdotp
\let\restriction\upharpoonright
\let\doteqdot\Doteq