summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-29 21:16:19 +0000
committerKarl Berry <karl@freefriends.org>2018-07-29 21:16:19 +0000
commit22732cc95c18343889729d2b33cadcaa09561171 (patch)
tree99b00aab650239d33fe44c326cd0b855bc257984 /Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx
parentf1d5ff4d5041a7f804fb723d4634d41f410d7f60 (diff)
unicode-math (29jul18)
git-svn-id: svn://tug.org/texlive/trunk@48309 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx')
-rw-r--r--Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx b/Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx
index 903cd0407e1..a12a8b6dabe 100644
--- a/Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx
+++ b/Master/texmf-dist/source/latex/unicode-math/um-code-mathtext.dtx
@@ -39,9 +39,9 @@
% integrate with fontspec's \setmathrm etc:
\tl_case:Nn #1
{
- \mathrm { \cs_set_eq:NN \g__fontspec_mathrm_tl \l_@@_tmpa_tl }
- \mathsf { \cs_set_eq:NN \g__fontspec_mathsf_tl \l_@@_tmpa_tl }
- \mathtt { \cs_set_eq:NN \g__fontspec_mathtt_tl \l_@@_tmpa_tl }
+ \mathrm { \cs_gset_eq:NN \g__fontspec_mathrm_tl \l_@@_tmpa_tl }
+ \mathsf { \cs_gset_eq:NN \g__fontspec_mathsf_tl \l_@@_tmpa_tl }
+ \mathtt { \cs_gset_eq:NN \g__fontspec_mathtt_tl \l_@@_tmpa_tl }
}
}
% \end{macrocode}
@@ -79,11 +79,11 @@
% \begin{macrocode}
\cs_set:Npn \use@mathgroup #1 #2
{
- \@@_group_begin:
+ \math@bgroup
\cs_if_eq:cNF {M@\f@encoding} #1 {#1}
- \@@_switchto_literal:
+ \@@_switch_to:n {literal}
\@@_mathgroup_set:n {#2}
- \@@_group_end:n
+ \math@egroup
}
% \end{macrocode}
% \end{macro}
@@ -96,7 +96,7 @@
% \begin{macrocode}
\cs_set:Npn \operator@font
{
- \@@_switchto_literal:
+ \@@_switch_to:n {literal}
\@@_fontswitch:n { \g_@@_operator_mathfont_tl }
}
% \end{macrocode}