diff options
Diffstat (limited to 'tex/context/base/mkiv/math-fen.mkiv')
-rw-r--r-- | tex/context/base/mkiv/math-fen.mkiv | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/math-fen.mkiv b/tex/context/base/mkiv/math-fen.mkiv index 246ff989d..d7c67b7e3 100644 --- a/tex/context/base/mkiv/math-fen.mkiv +++ b/tex/context/base/mkiv/math-fen.mkiv @@ -335,6 +335,8 @@ %D A bonus: +\pushoverloadmode + \unexpanded\def\Lparenthesis {\math_fenced_fenced_start{parenthesis}} \unexpanded\def\Rparenthesis {\math_fenced_fenced_stop {parenthesis}} \unexpanded\def\Lbracket {\math_fenced_fenced_start{bracket}} \unexpanded\def\Rbracket {\math_fenced_fenced_stop {bracket}} \unexpanded\def\Lbrace {\math_fenced_fenced_start{brace}} \unexpanded\def\Rbrace {\math_fenced_fenced_stop {brace}} @@ -394,14 +396,20 @@ % \left| \frac{1}{e} \right| % \stopformula +\popoverloadmode + \installcorenamespace{mathleft} \installcorenamespace{mathright} \installcorenamespace{mathmiddle} +\pushoverloadmode + \unexpanded\def\left {\afterassignment\math_left \let\nexttoken} \unexpanded\def\right {\afterassignment\math_right \let\nexttoken} \unexpanded\def\middle{\afterassignment\math_middle\let\nexttoken} +\popoverloadmode + \let\leftorright\relax \newconditional\c_math_fenced_done @@ -565,6 +573,8 @@ % The names in char-def.lua (historic mess): +\pushoverloadmode + \let\lbrack \lbracket \let\rbrack \rbracket \let\lceiling \lceil @@ -634,6 +644,8 @@ \installmathfencepair \< \Langle \> \Rangle \installmathfencepair \| \Lbar \| \Rbar +\popoverloadmode + %D As we have overloaded \type {\left} and \type {\right} we also need a more %D clever version of the following: |