This is experimental in upcoming beta: \starttext \definemathfence [fancybracket] [bracket] [command=yes,color=blue] test $|x|$ test \par test $||x||$ test (replaced) \par test $a\left|\frac{1}{b}\right|c$ test \par test $a\left||\frac{1}{b}\right||c$ test (kept) \par \startbuffer test $a\fenced[bar]{\frac{1}{b}}c$ test \par test $a\fenced[doublebar]{\frac{1}{b}}c$ test \par test $a\fenced[bracket]{\frac{1}{b}}c$ test \par test $a\fancybracket{\frac{1}{b}}c$ test \par \stopbuffer \getbuffer \setupmathfences [color=red] \getbuffer \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------