diff options
Diffstat (limited to 'doc/context/sources/general/manuals/luametatex/luametatex-math.tex')
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-math.tex | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-math.tex b/doc/context/sources/general/manuals/luametatex/luametatex-math.tex index 111a6cf03..ce4fe1544 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-math.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-math.tex @@ -593,10 +593,12 @@ with zero being the default behaviour. \start +\def\MathHack#1{\mathsurroundmode#1\relax\inlinebuffer} + \def\OneLiner#1#2% {\NC \type{#1} - \NC \dontleavehmode\inframed[align=normal,offset=0pt,frame=off]{\mathsurroundmode#1\relax\hsize 100pt x$x$x} - \NC \dontleavehmode\inframed[align=normal,offset=0pt,frame=off]{\mathsurroundmode#1\relax\hsize 100pt x $x$ x} + \NC \dontleavehmode\inframed[align=normal,offset=0pt,frame=off]{\hsize 100pt x$\MathHack{#1}x$x} + \NC \dontleavehmode\inframed[align=normal,offset=0pt,frame=off]{\hsize 100pt x $\MathHack{#1}x$ x} \NC #2 \NC \NR} @@ -605,7 +607,7 @@ with zero being the default behaviour. \mathsurroundskip20pt \stopbuffer -\typebuffer \getbuffer +\typebuffer \starttabulate[|c|c|c|pl|] \DB mode \BC x\$x\$x \BC x \$x\$ x \BC effect \NC \NR |