summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-08-22 22:45:46 +0000
committerKarl Berry <karl@freefriends.org>2023-08-22 22:45:46 +0000
commit32e21ecdd4f51f1c29e7456564180085379aa16d (patch)
treed471bdca4a4c60086d1774604eb9a96dd6ffb9d4 /Master/texmf-dist/tex/latex
parent7decee68824b62a8519678b065a95dd4154ce7a2 (diff)
mathfont (23aug23)
git-svn-id: svn://tug.org/texlive/trunk@68018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/mathfont/mathfont.sty496
1 files changed, 248 insertions, 248 deletions
diff --git a/Master/texmf-dist/tex/latex/mathfont/mathfont.sty b/Master/texmf-dist/tex/latex/mathfont/mathfont.sty
index 17556e8a5ab..603196eb9a1 100644
--- a/Master/texmf-dist/tex/latex/mathfont/mathfont.sty
+++ b/Master/texmf-dist/tex/latex/mathfont/mathfont.sty
@@ -6,12 +6,12 @@
%%
%% mathfont_code.dtx (with options: `package')
%%
-%% This file is from version 2.2a of the free and open-source
-%% LaTeX package "mathfont," released December 2022, to be used
+%% This file is from version 2.2b of the free and open-source
+%% LaTeX package "mathfont," released August 2023, to be used
%% with the XeTeX or LuaTeX engines. (As of version 2.0, LuaTeX
%% is recommended.)
%%
-%% Copyright 2018-2022 by Conrad Kosowsky
+%% Copyright 2018-2023 by Conrad Kosowsky
%%
%% This Work may be used, distributed, and modified under the
%% terms of the LaTeX Public Project License, version 1.3c or
@@ -60,7 +60,7 @@
%% For more information, see mathfont_code.dtx. Happy TeXing!
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{mathfont}[2022/12/05 v. 2.2a Package mathfont]
+\ProvidesPackage{mathfont}[2023/08/21 v. 2.2b Package mathfont]
\newif\ifM@XeTeXLuaTeX % is engine one of xetex or luatex?
\newif\ifM@Noluaotfload % cannot find luaotfload.sty?
\newif\ifM@adjust@font % should adjust fonts with lua script?
@@ -107,39 +107,38 @@
\M@XeTeXLuaTeXtrue
\fi
\ifM@XeTeXLuaTeX\else
- \begingroup
- \catcode`\+=\active
- \def+{ }
- \def\M@XeTeXLuaTeXError{\GenericError{}
- {\MessageBreak\MessageBreak
- Package mathfont error:
- \MessageBreak\MessageBreak
- +*************************\MessageBreak
- +*+++++++++++++++++++++++*\MessageBreak
- +*+++++++UNABLE TO+++++++*\MessageBreak
- +*+++++LOAD MATHFONT+++++*\MessageBreak
- +*+++++++++++++++++++++++*\MessageBreak
- +*+++++Missing XeTeX+++++*\MessageBreak
- +*+++++++or LuaTeX+++++++*\MessageBreak
- +*+++++++++++++++++++++++*\MessageBreak
- +*************************\MessageBreak\@gobbletwo}
- {See the mathfont package documentation for explanation.}
- {I need XeTeX or LuaTeX to make mathfont\MessageBreak
- work properly. It looks like the current\MessageBreak
- engine is something else, so I'm going to\MessageBreak
- stop reading in the package file now. (You\MessageBreak
- won't be able to use commands from mathfont\MessageBreak
- in your document.) To make mathfont work\MessageBreak
- correctly, please retypeset your document\MessageBreak
- with one of those two engines.^^J}}
- \M@XeTeXLuaTeXError
- \endgroup
+\begingroup
+\catcode`\ =12\relax
+\def\M@XeTeXLuaTeXError{\GenericError{}%
+{\MessageBreak\MessageBreak
+Package mathfont error:%
+\MessageBreak\MessageBreak
+*************************\MessageBreak
+* *\MessageBreak
+* UNABLE TO *\MessageBreak
+* LOAD MATHFONT *\MessageBreak
+* *\MessageBreak
+* Missing XeTeX *\MessageBreak
+* or LuaTeX *\MessageBreak
+* *\MessageBreak
+*************************\MessageBreak\@gobbletwo}%
+{See the mathfont package documentation for explanation.}%
+{I need XeTeX or LuaTeX to use mathfont. It\MessageBreak
+looks like the current engine is something\MessageBreak
+else, so I'm going to stop reading in the\MessageBreak
+package file now. (You won't be able to use\MessageBreak
+commands from mathfont in your document.) To\MessageBreak
+load mathfont correctly, please retypeset your\MessageBreak
+document with one of those two engines.^^J}}%
+\expandafter\endgroup
+\M@XeTeXLuaTeXError
\AtEndOfPackage{\typeout{:: mathfont :: Failed to load\on@line.}}
\expandafter\endinput % we should \endinput with a balanced conditional
\fi
\ifdefined\directlua
\M@adjust@fonttrue % if engine is LuaTeX, adjust font by default
- \IfFileExists{luaotfload.sty}{\M@Noluaotfloadfalse}{\M@Noluaotfloadtrue}
+ \IfFileExists{luaotfload.sty}
+ {\M@Noluaotfloadfalse\RequirePackage{luaotfload}}{\M@Noluaotfloadtrue}
\else
\PackageWarningNoLine{mathfont}{%
The current engine is XeTeX, but as\MessageBreak
@@ -149,37 +148,37 @@
work with XeTeX}
\fi
\ifM@Noluaotfload % false by default; true if LuaTeX AND no luaotfload.sty
- \begingroup
- \catcode`\+=\active
- \def+{ }
- \def\M@NoluaotfloadError{\GenericError{}
- {\MessageBreak\MessageBreak
- Package mathfont error:
- \MessageBreak\MessageBreak
- +*************************\MessageBreak
- +*+++++++++++++++++++++++*\MessageBreak
- +*+++++++UNABLE TO+++++++*\MessageBreak
- +*+++++LOAD MATHFONT+++++*\MessageBreak
- +*+++++++++++++++++++++++*\MessageBreak
- +*++++Cannot find the++++*\MessageBreak
- +*++file luaotfload.sty++*\MessageBreak
- +*+++++++++++++++++++++++*\MessageBreak
- +*************************\MessageBreak\@gobbletwo}
- {You are likely seeing this message because you haven't^^J%
- installed luaotfload. Check your TeX distribution for a^^J%
- list of the packages on your system. See the mathfont^^J%
- documentation for further explanation.^^J}
- {It looks like the current engine is LuaTeX, so I\MessageBreak
- need the luaotfload package to make mathfont work\MessageBreak
- correctly. I can't find luaotfload, so I'm going to\MessageBreak
- stop reading in the mathfont package file now. (You\MessageBreak
- won't be able to use commands from mathfont in your\MessageBreak
- document.) To make mathfont work correctly, make\MessageBreak
- sure luaotfload.sty is installed on your computer\MessageBreak
- in a directory searchable by TeX or compile with\MessageBreak
- XeLaTeX.^^J}}
- \M@NoluaotfloadError
- \endgroup
+\begingroup
+\catcode`\ =12\relax
+\def\M@NoluaotfloadError{\GenericError{}%
+{\MessageBreak\MessageBreak
+Package mathfont error:%
+\MessageBreak\MessageBreak
+*************************\MessageBreak
+* *\MessageBreak
+* UNABLE TO *\MessageBreak
+* LOAD MATHFONT *\MessageBreak
+* *\MessageBreak
+* Cannot find the *\MessageBreak
+* file luaotfload.sty *\MessageBreak
+* *\MessageBreak
+*************************\MessageBreak\@gobbletwo}%
+{You are likely seeing this message because you haven't^^J%
+installed luaotfload. Check your TeX distribution for a^^J%
+list of the packages on your system.^^J^^J%
+See the mathfont documentation for further explanation.}%
+{You're in trouble here. It looks like the current\MessageBreak
+engine is LuaTeX, so I need the luaotfload package\MessageBreak
+to make mathfont work properly. However, I can't\MessageBreak
+find luaotfload, which likely means something is\MessageBreak
+wrong with your TeX installation. I'm going to stop\MessageBreak
+reading in the mathfont package file. (You won't be\MessageBreak
+able to use commands from mathfont in your document.)\MessageBreak
+To load mathfont work correctly, make sure you have\MessageBreak
+installed luaotfload.sty in a directory searchable\MessageBreak
+by TeX or compile with XeLaTeX.^^J}}%
+\expandafter\endgroup
+\M@NoluaotfloadError
\AtEndOfPackage{\typeout{:: mathfont :: Failed to load\on@line.}}
\expandafter\endinput % we should \endinput with a balanced conditional
\fi
@@ -254,7 +253,7 @@
{Your package option "adjust" was ignored.\MessageBreak
This option works only with LuaTeX, and it\MessageBreak
looks like the current engine is XeTeX. To\MessageBreak
- enable Lua-based font adjustments, compile\MessageBreak
+ enable Lua-based font adjustments, typeset\MessageBreak
with LuaLaTeX.^^J}}
\M@adjust@fontfalse
\fi
@@ -513,30 +512,30 @@
\newif\ifM@Decl@reF@mily
\newif\ifM@Decl@reF@milyB@se
\newif\ifM@fromCharmFile
-\def\M@uppershape{italic} % latin upper
-\def\M@lowershape{italic} % latin lower
-\def\M@diacriticsshape{upright} % diacritics
-\def\M@greekuppershape{upright} % greek upper
-\def\M@greeklowershape{italic} % greek lower
-\def\M@agreekuppershape{upright} % ancient greek upper
-\def\M@agreeklowershape{italic} % ancient greek lower
+\def\M@uppershape{italic} % latin upper
+\def\M@lowershape{italic} % latin lower
+\def\M@diacriticsshape{upright} % diacritics
+\def\M@greekuppershape{upright} % greek upper
+\def\M@greeklowershape{italic} % greek lower
+\def\M@agreekuppershape{upright} % ancient greek upper
+\def\M@agreeklowershape{italic} % ancient greek lower
\def\M@cyrillicuppershape{upright} % cyrillic upper
-\def\M@cyrilliclowershape{italic} % cyrillic lower
-\def\M@hebrewshape{upright} % hebrew
-\def\M@digitsshape{upright} % numerals
-\def\M@operatorshape{upright} % operator font
-\def\M@delimitersshape{upright} % delimiters
-\def\M@radicalshape{upright} % surd
-\def\M@bigopsshape{upright} % big operators
-\def\M@extbigopsshape{upright} % extended big operators
-\def\M@symbolsshape{upright} % basic symbols
-\def\M@extsymbolsshape{upright} % extended symbols
-\def\M@arrowsshape{upright} % arrows
-\def\M@bbshape{upright} % blackboard bold
-\def\M@calshape{upright} % caligraphic
-\def\M@frakshape{upright} % fraktur
-\def\M@bcalshape{upright} % bold caligraphic
-\def\M@bfrakshape{upright} % bold fraktur
+\def\M@cyrilliclowershape{italic} % cyrillic lower
+\def\M@hebrewshape{upright} % hebrew
+\def\M@digitsshape{upright} % numerals
+\def\M@operatorshape{upright} % operator font
+\def\M@delimitersshape{upright} % delimiters
+\def\M@radicalshape{upright} % surd
+\def\M@bigopsshape{upright} % big operators
+\def\M@extbigopsshape{upright} % extended big operators
+\def\M@symbolsshape{upright} % basic symbols
+\def\M@extsymbolsshape{upright} % extended symbols
+\def\M@arrowsshape{upright} % arrows
+\def\M@bbshape{upright} % blackboard bold
+\def\M@calshape{upright} % caligraphic
+\def\M@frakshape{upright} % fraktur
+\def\M@bcalshape{upright} % bold caligraphic
+\def\M@bfrakshape{upright} % bold fraktur
\def\M@keys{upper,lower,diacritics,greekupper,%
greeklower,agreekupper,agreeklower,cyrillicupper,%
cyrilliclower,hebrew,digits,operator,delimiters,%
@@ -551,8 +550,7 @@
tlig=true;liga=true;smcp=false;lnum=true}
\def\M@otf@features@sc{script=latin;language=DFLT;%
tlig=true;liga=true;smcp=true;lnum=true}
-\def\M@split@colon#1:#2\@nil{%
- \def\@tempbase{#1}
+\def\M@split@colon#1:#2\@nil{\def\@tempbase{#1}
\def\@tempfeatures{#2}}
\def\M@strip@colon#1:{#1}
\def\M@fill@nfss@shapes#1#2{%
@@ -666,7 +664,7 @@
\@for\@j:=\M@keys\do{%
\ifx\@j#1
\let\@temperror\@gobble % eliminate error
- \@optionpresenttrue % set switch to true
+ \@optionpresenttrue % set switch to true
\fi}
\def\@j{empty} % if option is "empty," we do nothing
\ifx\@j#1
@@ -679,15 +677,15 @@
\@for\@j:=roman,upright,italic\do{%
\ifx\@j#1
\let\@temperror\@gobble % eliminate error
- \@suboptionpresenttrue % set switch to true
+ \@suboptionpresenttrue % set switch to true
\fi}
\@temperror{#1}}
\def\M@strip@equals#1={#1}
\def\M@parse@option#1=#2\@nil{%
- \@optionpresentfalse % set switch to false by default
+ \@optionpresentfalse % set switch to false by default
\@suboptionpresentfalse % set switch to false by default
- \def\@temp@opt{#1} % store option
- \def\@temp@sub{#2} % store suboption
+ \def\@temp@opt{#1} % store option
+ \def\@temp@sub{#2} % store suboption
\ifx\@temp@opt\@empty
\M@MissingOptionError
\else
@@ -768,8 +766,8 @@
\fi}
\edef\@tempa{\the\M@toks}
\ifx\@tempa\@empty
- \wlog{The \string\mathfont\space command on line \the\inputlineno\space
- did not change the font for any characters!}
+ \wlog{The \string\mathfont\space command on line
+ \the\inputlineno\space did not change the font for any characters!}
\else
\wlog{}
\typeout{:: mathfont :: Using font \@tempbase\space
@@ -788,8 +786,8 @@
\@onlypreamble\setfont
\ifdefined\directlua
\let\M@SetMathConstants\relax
- \protected\def\mathconstantsfont{\@ifnextchar[{\@mathconstantsfont}
- {\@mathconstantsfont[upright]}}
+ \protected\def\mathconstantsfont{%
+ \@ifnextchar[{\@mathconstantsfont}{\@mathconstantsfont[upright]}}
\def\@mathconstantsfont[#1]#2{%
\edef\@tempa{\csname M@fontfamily@base@#2\endcsname}
\expandafter\ifx\@tempa\relax
@@ -821,8 +819,8 @@
\endcsname % expands to \symMupright<id>
\csname TU/\m@th@const@nts@font
/\seriesdefault
- /\m@th@const@nts@font@sh@pe\endcsname
- % above \csname expands to \TU/<nfss family name>/m/<shape>
+ /\m@th@const@nts@font@sh@pe
+ \endcsname % expands to \TU/<nfss family name>/m/<shape>
\globaldefs\@ne
\expandafter\@gobbletwo\math@fonts % gobble to avoid infinite loop
\endgroup}
@@ -1799,175 +1797,175 @@ function mathfont.adjust_font(fontdata)
end
luatexbase.add_to_callback("luaotfload.patch_font", mathfont.adjust_font,
"mathfont.adjust_font")
-mathfont:new_type_a(97, 1044480, {50, 50, -50, 0}) % a
-mathfont:new_type_a(98, 1044481, {50, 50, -50, 0}) % b
-mathfont:new_type_a(99, 1044482, {50, 50, 0, 0}) % c
-mathfont:new_type_a(100, 1044483, {50, -50, -50, 0}) % d
-mathfont:new_type_a(101, 1044484, {50, 50, 0, 0}) % e
-mathfont:new_type_a(102, 1044485, {200, 0, 0, 0}) % f
-mathfont:new_type_a(103, 1044486, {100, 50, -50, 0}) % g
-mathfont:new_type_a(104, 1044487, {50, 0, -50, 0}) % h
-mathfont:new_type_a(105, 1044488, {50, 100, -100, 0}) % i
-mathfont:new_type_a(106, 1044489, {400, 50, -50, 0}) % j
-mathfont:new_type_a(107, 1044490, {50, 50, -100, 0}) % k
+mathfont:new_type_a(97, 1044480, {50, 50, -50, 0}) % a
+mathfont:new_type_a(98, 1044481, {50, 50, -50, 0}) % b
+mathfont:new_type_a(99, 1044482, {50, 50, 0, 0}) % c
+mathfont:new_type_a(100, 1044483, {50, -50, -50, 0}) % d
+mathfont:new_type_a(101, 1044484, {50, 50, 0, 0}) % e
+mathfont:new_type_a(102, 1044485, {200, 0, 0, 0}) % f
+mathfont:new_type_a(103, 1044486, {100, 50, -50, 0}) % g
+mathfont:new_type_a(104, 1044487, {50, 0, -50, 0}) % h
+mathfont:new_type_a(105, 1044488, {50, 100, -100, 0}) % i
+mathfont:new_type_a(106, 1044489, {400, 50, -50, 0}) % j
+mathfont:new_type_a(107, 1044490, {50, 50, -100, 0}) % k
mathfont:new_type_a(108, 1044491, {100, 150, -100, 0}) % l
-mathfont:new_type_a(109, 1044492, {50, 0, 0, 0}) % m
-mathfont:new_type_a(110, 1044493, {50, 0, 0, 0}) % n
-mathfont:new_type_a(111, 1044494, {50, 0, 0, 0}) % o
-mathfont:new_type_a(112, 1044495, {200, 50, -50, 0}) % p
-mathfont:new_type_a(113, 1044496, {50, 0, -50, 0}) % q
-mathfont:new_type_a(114, 1044497, {100, 100, -50, 0}) % r
-mathfont:new_type_a(115, 1044498, {50, 50, -50, 0}) % s
-mathfont:new_type_a(116, 1044499, {50, 50, -50, 0}) % t
-mathfont:new_type_a(117, 1044500, {0, 50, 0, 0}) % u
-mathfont:new_type_a(118, 1044501, {0, 50, -50, 0}) % v
-mathfont:new_type_a(119, 1044502, {0, 50, 0, 0}) % w
-mathfont:new_type_a(120, 1044503, {50, 0, -50, 0}) % x
-mathfont:new_type_a(121, 1044504, {150, 50, -50, 0}) % y
-mathfont:new_type_a(122, 1044505, {100, 50, -100, 0}) % z
+mathfont:new_type_a(109, 1044492, {50, 0, 0, 0}) % m
+mathfont:new_type_a(110, 1044493, {50, 0, 0, 0}) % n
+mathfont:new_type_a(111, 1044494, {50, 0, 0, 0}) % o
+mathfont:new_type_a(112, 1044495, {200, 50, -50, 0}) % p
+mathfont:new_type_a(113, 1044496, {50, 0, -50, 0}) % q
+mathfont:new_type_a(114, 1044497, {100, 100, -50, 0}) % r
+mathfont:new_type_a(115, 1044498, {50, 50, -50, 0}) % s
+mathfont:new_type_a(116, 1044499, {50, 50, -50, 0}) % t
+mathfont:new_type_a(117, 1044500, {0, 50, 0, 0}) % u
+mathfont:new_type_a(118, 1044501, {0, 50, -50, 0}) % v
+mathfont:new_type_a(119, 1044502, {0, 50, 0, 0}) % w
+mathfont:new_type_a(120, 1044503, {50, 0, -50, 0}) % x
+mathfont:new_type_a(121, 1044504, {150, 50, -50, 0}) % y
+mathfont:new_type_a(122, 1044505, {100, 50, -100, 0}) % z
mathfont:new_type_a(305, 1044506, {100, 100, -150, 0}) % \imath
-mathfont:new_type_a(567, 1044507, {700, 50, -150, 0}) % \jmath
-mathfont:new_type_a(65, 1044512, {50, 0, 150, 0}) % A
-mathfont:new_type_a(66, 1044513, {50, 0, 0, 0}) % B
-mathfont:new_type_a(67, 1044514, {0, 0, 0, 0}) % C
-mathfont:new_type_a(68, 1044515, {50, 0, -50, 0}) % D
-mathfont:new_type_a(69, 1044516, {50, 0, 0, 0}) % E
-mathfont:new_type_a(70, 1044517, {50, 0, 0, 0}) % F
-mathfont:new_type_a(71, 1044518, {0, 0, 0, 0}) % G
-mathfont:new_type_a(72, 1044519, {50, 0, -50, 0}) % H
-mathfont:new_type_a(73, 1044520, {100, 0, 0, 0}) % I
-mathfont:new_type_a(74, 1044521, {50, 0, 100, 0}) % J
-mathfont:new_type_a(75, 1044522, {50, 0, 0, 0}) % K
+mathfont:new_type_a(567, 1044507, {700, 50, -150, 0}) % \jmath
+mathfont:new_type_a(65, 1044512, {50, 0, 150, 0}) % A
+mathfont:new_type_a(66, 1044513, {50, 0, 0, 0}) % B
+mathfont:new_type_a(67, 1044514, {0, 0, 0, 0}) % C
+mathfont:new_type_a(68, 1044515, {50, 0, -50, 0}) % D
+mathfont:new_type_a(69, 1044516, {50, 0, 0, 0}) % E
+mathfont:new_type_a(70, 1044517, {50, 0, 0, 0}) % F
+mathfont:new_type_a(71, 1044518, {0, 0, 0, 0}) % G
+mathfont:new_type_a(72, 1044519, {50, 0, -50, 0}) % H
+mathfont:new_type_a(73, 1044520, {100, 0, 0, 0}) % I
+mathfont:new_type_a(74, 1044521, {50, 0, 100, 0}) % J
+mathfont:new_type_a(75, 1044522, {50, 0, 0, 0}) % K
mathfont:new_type_a(76, 1044523, {50, 0, -180, 0}) % L
-mathfont:new_type_a(77, 1044524, {50, 0, -50, 0}) % M
-mathfont:new_type_a(78, 1044525, {50, 0, -50, 0}) % N
-mathfont:new_type_a(79, 1044526, {0, 0, 0, 0}) % O
-mathfont:new_type_a(80, 1044527, {0, 0, -50, 0}) % P
-mathfont:new_type_a(81, 1044528, {0, 50, 0, 0}) % Q
-mathfont:new_type_a(82, 1044529, {50, 0, -50, 0}) % R
-mathfont:new_type_a(83, 1044530, {0, 0, -50, 0}) % S
-mathfont:new_type_a(84, 1044531, {0, 0, -50, 0}) % T
-mathfont:new_type_a(85, 1044532, {0, 0, -50, 0}) % U
-mathfont:new_type_a(86, 1044533, {0, 50, 0, 0}) % V
-mathfont:new_type_a(87, 1044534, {0, 50, -50, 0}) % W
-mathfont:new_type_a(88, 1044535, {50, 0, 0, 0}) % X
-mathfont:new_type_a(89, 1044536, {0, 0, -50, 0}) % Y
-mathfont:new_type_a(90, 1044537, {50, 0, -50, 0}) % Z
-mathfont:new_type_u(945, {0, 0}) % \alpha
-mathfont:new_type_u(946, {0, 0}) % \beta
-mathfont:new_type_u(947, {-50, 0}) % \gamma
-mathfont:new_type_u(948, {0, 0}) % \delta
-mathfont:new_type_u(1013, {50, 0}) % \epsilon
-mathfont:new_type_u(950, {0, 0}) % \zeta
-mathfont:new_type_u(951, {-50, 0}) % \eta
-mathfont:new_type_u(952, {0, 0}) % \theta
-mathfont:new_type_u(953, {-50, 0}) % \iota
-mathfont:new_type_u(954, {0, 0}) % \kappa
+mathfont:new_type_a(77, 1044524, {50, 0, -50, 0}) % M
+mathfont:new_type_a(78, 1044525, {50, 0, -50, 0}) % N
+mathfont:new_type_a(79, 1044526, {0, 0, 0, 0}) % O
+mathfont:new_type_a(80, 1044527, {0, 0, -50, 0}) % P
+mathfont:new_type_a(81, 1044528, {0, 50, 0, 0}) % Q
+mathfont:new_type_a(82, 1044529, {50, 0, -50, 0}) % R
+mathfont:new_type_a(83, 1044530, {0, 0, -50, 0}) % S
+mathfont:new_type_a(84, 1044531, {0, 0, -50, 0}) % T
+mathfont:new_type_a(85, 1044532, {0, 0, -50, 0}) % U
+mathfont:new_type_a(86, 1044533, {0, 50, 0, 0}) % V
+mathfont:new_type_a(87, 1044534, {0, 50, -50, 0}) % W
+mathfont:new_type_a(88, 1044535, {50, 0, 0, 0}) % X
+mathfont:new_type_a(89, 1044536, {0, 0, -50, 0}) % Y
+mathfont:new_type_a(90, 1044537, {50, 0, -50, 0}) % Z
+mathfont:new_type_u(945, {0, 0}) % \alpha
+mathfont:new_type_u(946, {0, 0}) % \beta
+mathfont:new_type_u(947, {-50, 0}) % \gamma
+mathfont:new_type_u(948, {0, 0}) % \delta
+mathfont:new_type_u(1013, {50, 0}) % \epsilon
+mathfont:new_type_u(950, {0, 0}) % \zeta
+mathfont:new_type_u(951, {-50, 0}) % \eta
+mathfont:new_type_u(952, {0, 0}) % \theta
+mathfont:new_type_u(953, {-50, 0}) % \iota
+mathfont:new_type_u(954, {0, 0}) % \kappa
mathfont:new_type_u(955, {-150, 0}) % lambda
-mathfont:new_type_u(956, {0, 0}) % \mu
-mathfont:new_type_u(957, {-50, 0}) % \nu
-mathfont:new_type_u(958, {0, 0}) % \xi
-mathfont:new_type_u(959, {0, 0}) % \omicron
+mathfont:new_type_u(956, {0, 0}) % \mu
+mathfont:new_type_u(957, {-50, 0}) % \nu
+mathfont:new_type_u(958, {0, 0}) % \xi
+mathfont:new_type_u(959, {0, 0}) % \omicron
mathfont:new_type_u(960, {-100, 0}) % \pi
-mathfont:new_type_u(961, {-50, 0}) % \rho
+mathfont:new_type_u(961, {-50, 0}) % \rho
mathfont:new_type_u(963, {-100, 0}) % \sigma
mathfont:new_type_u(964, {-100, 0}) % \tau
-mathfont:new_type_u(965, {-50, 0}) % \upsilon
-mathfont:new_type_u(981, {0, 0}) % \phi
-mathfont:new_type_u(967, {-50, 0}) % \chi
-mathfont:new_type_u(968, {-50, 0}) % \psi
-mathfont:new_type_u(969, {0, 0}) % \omega
-mathfont:new_type_u(976, {0, 0}) % \varbeta
-mathfont:new_type_u(949, {-50, 0}) % \varepsilon
-mathfont:new_type_u(977, {50, 0}) % \vartheta
+mathfont:new_type_u(965, {-50, 0}) % \upsilon
+mathfont:new_type_u(981, {0, 0}) % \phi
+mathfont:new_type_u(967, {-50, 0}) % \chi
+mathfont:new_type_u(968, {-50, 0}) % \psi
+mathfont:new_type_u(969, {0, 0}) % \omega
+mathfont:new_type_u(976, {0, 0}) % \varbeta
+mathfont:new_type_u(949, {-50, 0}) % \varepsilon
+mathfont:new_type_u(977, {50, 0}) % \vartheta
mathfont:new_type_u(1009, {-50, 0}) % \varrho
-mathfont:new_type_u(962, {-50, 0}) % \varsigma
-mathfont:new_type_u(966, {0, 0}) % \varphi
-mathfont:new_type_u(913, {0, 0}) % \Alpha
-mathfont:new_type_u(914, {0, 0}) % \Beta
-mathfont:new_type_u(915, {0, 0}) % \Gamma
-mathfont:new_type_u(916, {0, 0}) % \Delta
-mathfont:new_type_u(917, {0, 0}) % \Epsilon
-mathfont:new_type_u(918, {0, 0}) % \Zeta
-mathfont:new_type_u(919, {0, 0}) % \Eta
-mathfont:new_type_u(920, {0, 0}) % \Theta
-mathfont:new_type_u(921, {0, 0}) % \Iota
-mathfont:new_type_u(922, {0, 0}) % \Kappa
-mathfont:new_type_u(923, {0, 0}) % \Lambda
-mathfont:new_type_u(924, {0, 0}) % \Mu
-mathfont:new_type_u(925, {0, 0}) % \Nu
-mathfont:new_type_u(926, {0, 0}) % \Xi
-mathfont:new_type_u(927, {0, 0}) % \Omicron
-mathfont:new_type_u(928, {0, 0}) % \Pi
-mathfont:new_type_u(929, {0, 0}) % \Rho
-mathfont:new_type_u(931, {0, 0}) % \Sigma
-mathfont:new_type_u(932, {0, 0}) % \Tau
-mathfont:new_type_u(933, {0, 0}) % \Upsilon
-mathfont:new_type_u(934, {0, 0}) % \Phi
-mathfont:new_type_u(935, {0, 0}) % \Chi
-mathfont:new_type_u(936, {0, 0}) % \Psi
-mathfont:new_type_u(937, {0, 0}) % \Omega
-mathfont:new_type_u(1012, {0, 0}) % \varTheta
+mathfont:new_type_u(962, {-50, 0}) % \varsigma
+mathfont:new_type_u(966, {0, 0}) % \varphi
+mathfont:new_type_u(913, {0, 0}) % \Alpha
+mathfont:new_type_u(914, {0, 0}) % \Beta
+mathfont:new_type_u(915, {0, 0}) % \Gamma
+mathfont:new_type_u(916, {0, 0}) % \Delta
+mathfont:new_type_u(917, {0, 0}) % \Epsilon
+mathfont:new_type_u(918, {0, 0}) % \Zeta
+mathfont:new_type_u(919, {0, 0}) % \Eta
+mathfont:new_type_u(920, {0, 0}) % \Theta
+mathfont:new_type_u(921, {0, 0}) % \Iota
+mathfont:new_type_u(922, {0, 0}) % \Kappa
+mathfont:new_type_u(923, {0, 0}) % \Lambda
+mathfont:new_type_u(924, {0, 0}) % \Mu
+mathfont:new_type_u(925, {0, 0}) % \Nu
+mathfont:new_type_u(926, {0, 0}) % \Xi
+mathfont:new_type_u(927, {0, 0}) % \Omicron
+mathfont:new_type_u(928, {0, 0}) % \Pi
+mathfont:new_type_u(929, {0, 0}) % \Rho
+mathfont:new_type_u(931, {0, 0}) % \Sigma
+mathfont:new_type_u(932, {0, 0}) % \Tau
+mathfont:new_type_u(933, {0, 0}) % \Upsilon
+mathfont:new_type_u(934, {0, 0}) % \Phi
+mathfont:new_type_u(935, {0, 0}) % \Chi
+mathfont:new_type_u(936, {0, 0}) % \Psi
+mathfont:new_type_u(937, {0, 0}) % \Omega
+mathfont:new_type_u(1012, {0, 0}) % \varTheta
local delim_glyphs = {40, % (
- 41, % )
- 47, % /
- 91, % [
- 92, % backslash
- 93, % ]
- 123, % {
- 125, % }
- 8249, % \lguil
- 8250, % \rguil
- 171, % \llguil
- 187, % \rrguil
+ 41, % )
+ 47, % /
+ 91, % [
+ 92, % backslash
+ 93, % ]
+ 123, % {
+ 125, % }
+ 8249, % \lguil
+ 8250, % \rguil
+ 171, % \llguil
+ 187, % \rrguil
1044508, % \fakelangle
1044509, % \fakerangle
1044510, % \fakellangle
1044511} % \fakerrangle
local big_op_glyphs = {33, % !
- 35, % #
- 36, % $
- 37, % %
- 38, % &
- 43, % +
- 63, % ?
- 64, % @
- 167, % \S
- 215, % \times
- 247, % \div
- 8719, % \prod
- 8721, % \sum
- 8720, % \coprod
- 8897, % \bigvee
- 8896, % \bigwedge
- 8899, % \bigcup
- 8898, % \bigcap
- 10753, % \bigoplus
- 10754, % \bigotimes
- 10752, % \bigodot
- 10757, % \bigsqcap
- 10758} % \bigsqcup
+ 35, % #
+ 36, % $
+ 37, % %
+ 38, % &
+ 43, % +
+ 63, % ?
+ 64, % @
+ 167, % \S
+ 215, % \times
+ 247, % \div
+ 8719, % \prod
+ 8721, % \sum
+ 8720, % \coprod
+ 8897, % \bigvee
+ 8896, % \bigwedge
+ 8899, % \bigcup
+ 8898, % \bigcap
+ 10753, % \bigoplus
+ 10754, % \bigotimes
+ 10752, % \bigodot
+ 10757, % \bigsqcap
+ 10758} % \bigsqcup
local vert_glyphs = {124, 8730} % | and \surd
local int_glyphs = {8747, % \intop
- 8748, % \iint
- 8749, % \iiint
- 8750, % \oint
- 8751, % \oiint
- 8752} % \oiiint
+ 8748, % \iint
+ 8749, % \iiint
+ 8750, % \oint
+ 8751, % \oiint
+ 8752} % \oiiint
local smash = 1044544
local delim_scale = {}
local big_op_scale = {}
local vert_scale = {}
local int_scale = {}
for i = 1, 15, 1 do
- delim_scale[2*i-1] = 1000 + 100*i % horizontal - delimiters
- delim_scale[2*i] = 1000 + 500*i % vertical - delimiters
+ delim_scale[2*i-1] = 1000 + 100*i % horizontal - delimiters
+ delim_scale[2*i] = 1000 + 500*i % vertical - delimiters
vert_scale[2*i-1] = 1000
- vert_scale[2*i] = 1000 + 500*i % vertical - vertically scaled chars
- big_op_scale[2*i-1] = 1000 + 100*i % horizontal - big operators
- big_op_scale[2*i] = 1000 + 100*i % vertical - big operators
- int_scale[2*i-1] = 1000 + 500*i % horizontal - integral sign
- int_scale[2*i] = 1000 + 1500*i % vertical - integral sign
+ vert_scale[2*i] = 1000 + 500*i % vertical - vertically scaled chars
+ big_op_scale[2*i-1] = 1000 + 100*i % horizontal - big operators
+ big_op_scale[2*i] = 1000 + 100*i % vertical - big operators
+ int_scale[2*i-1] = 1000 + 500*i % horizontal - integral sign
+ int_scale[2*i] = 1000 + 1500*i % vertical - integral sign
end
delim_scale[31] = 0
delim_scale[32] = 0
@@ -2626,7 +2624,6 @@ mathfont:add_extensible_variants(smash, int_glyphs, int_scale)
\let\bowtie\@undefined
\let\doteq\@undefined
\let\neq\@undefined
- \let\ng\@undefined
\DeclareMathSymbol{\wp}{\mathord}{\M@extsymbols@font}{"2118}
\DeclareMathSymbol{\Re}{\mathord}{\M@extsymbols@font}{"211C}
\DeclareMathSymbol{\Im}{\mathord}{\M@extsymbols@font}{"2111}
@@ -2758,7 +2755,6 @@ mathfont:add_extensible_variants(smash, int_glyphs, int_scale)
\DeclareMathSymbol{\sqsupsetneq}{\mathrel}{\M@extsymbols@font}{"22E5}
\DeclareMathSymbol{\neq}{\mathrel}{\M@extsymbols@font}{"2260}
\DeclareMathSymbol{\nl}{\mathrel}{\M@extsymbols@font}{"226E}
- \DeclareMathSymbol{\ng}{\mathrel}{\M@extsymbols@font}{"226F}
\DeclareMathSymbol{\nleq}{\mathrel}{\M@extsymbols@font}{"2270}
\DeclareMathSymbol{\ngeq}{\mathrel}{\M@extsymbols@font}{"2271}
\DeclareMathSymbol{\lneq}{\mathrel}{\M@extsymbols@font}{"2A87}
@@ -2793,6 +2789,10 @@ mathfont:add_extensible_variants(smash, int_glyphs, int_scale)
\DeclareMathSymbol{\precnapprox}{\mathrel}{\M@extsymbols@font}{"2AB9}
\DeclareMathSymbol{\succnapprox}{\mathrel}{\M@extsymbols@font}{"2ABA}
\DeclareMathSymbol{\nequiv}{\mathrel}{\M@extsymbols@font}{"2262}
+ \global\let\textng\ng
+ \let\ng\@undefined
+ \DeclareMathSymbol{\mathng}{\mathrel}{\M@extsymbols@font}{"226F}
+ \protected\gdef\ng{\ifmmode\mathng\else\textng\fi}
\ifM@adjust@font\else
\DeclareMathSymbol{\nabla}{\mathord}{\M@extsymbols@font}{"2207}
\fi}