diff options
author | Karl Berry <karl@freefriends.org> | 2017-07-31 21:09:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-07-31 21:09:11 +0000 |
commit | 03112d94c0d80f90df3d31232ea53c1953eb0bee (patch) | |
tree | a4ad27bf21bf64b57c8df7f5849c670c899629ed /Master/texmf-dist/source/latex/unicode-math/unicode-math-compat.dtx | |
parent | 89ca7ced47afa7482445dfbb4fda99f93d1ce4b4 (diff) |
unicode-math (31jul17)
git-svn-id: svn://tug.org/texlive/trunk@44930 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/unicode-math-compat.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/unicode-math/unicode-math-compat.dtx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/unicode-math-compat.dtx b/Master/texmf-dist/source/latex/unicode-math/unicode-math-compat.dtx index f7768095976..f04177c60f1 100644 --- a/Master/texmf-dist/source/latex/unicode-math/unicode-math-compat.dtx +++ b/Master/texmf-dist/source/latex/unicode-math/unicode-math-compat.dtx @@ -302,7 +302,7 @@ \box_wd:N \l_tmpb_box + (\box_ht:N \l_tmpa_box - \box_dp:N \l_tmpa_box) * \number \fontdimen 65 \l_@@_font / 100 - } + } { \box_use:N \rootbox } @@ -342,10 +342,9 @@ % \pkg{mathtools}’s |\cramped| command and others that make use of its internal version use an incorrect font dimension. % % \begin{macrocode} +%<*XE> \AtEndOfPackageFile * { mathtools } { -%<*XE> - \newfam \g_@@_empty_fam \@@_check_and_fix:NNnnn \MT_cramped_internal:Nn \cs_set_nopar:Npn { #1 #2 } { @@ -380,7 +379,9 @@ } % \end{macrocode} % The \XeTeX\ version is pretty similar to the legacy version, only using the correct font dimensions. -% Note we used `\verb|\XeTeXradical|' with a newly-allocated empty family to make sure that the radical rule width is not set. +% Note we used `\verb|\XeTeXradical|' with the family 255 to be almost sure +% that the radical rule width is not set. Former use of `\verb|\newfam|' had an +% upsetting effect on legacy math alphabets. % \begin{macrocode} { \hbox_set:Nn \l_tmpa_box @@ -390,7 +391,7 @@ \m@th #1 \dim_zero:N \nulldelimiterspace - \XeTeXradical \g_@@_empty_fam \c_zero { #2 } + \XeTeXradical \c_two_hundred_fifty_five \c_zero { #2 } \c_math_toggle_token \color@endgroup } @@ -404,6 +405,7 @@ } \box_use_clear:N \l_tmpa_box } + } %</XE> % \end{macrocode} % @@ -445,8 +447,7 @@ \let\Uunderbracket=\underbracket \let\overbracket =\MToverbracket \let\underbracket =\MTunderbracket - } - } + }% end of AtBeginDocument % \end{macrocode} % \end{macro} % \end{macro} @@ -505,4 +506,4 @@ % % \begin{macrocode} %</compat> -% \end{macrocode}
\ No newline at end of file +% \end{macrocode} |