On 9/10/2022 9:45 AM, Alexandre Christe via ntg-context wrote:
Hi Hans,

Will |\mvert|and|\midalso be included in the \autofencelogic? It would be quite useful.|
we don't have \mvert so i'll add that ... in a next upload you can do the attached (kind of experimental as Mikael and I need to review this which we will do next week)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
% \setupbodyfont[cambria]
\setupbodyfont[pagella]
% \setupbodyfont[bonum]

\starttext

% \showmakeup[mathglue] \mathspacingmode1 \showglyphs

\enablemathautospacing % more global
\enablemathautofencing % more global
\enablemathautonumbers % more global
\autofences            % more local

\startTEXpage [offset=1dk]

% $|x| + |3|$

% $ x \middle | \frac{a}{x}$

% $ x | \frac{a}{x}$

% $ ( \frac{a}{x} + b | x )$

$ ( \frac{a}{x} + b | x )$

$ ( \frac{a}{x} + b || x )$

$ ( \frac{a}{x} + b ||| x )$


$ ( \frac{a}{x} + b + |x| )$

$ ( \frac{a}{x} + b + ||x|| )$

$ ( \frac{a}{x} + b + |||x||| )$

% $ ( \frac{a}{x} + b + |x| + 2)$

% $ ( \frac{a}{x} + b \lvert x )$

% $ ( \frac{a}{x} + b \mvert x )$

% $ ( \frac{a}{x} + b \mVert x )$

% $ ( \frac{a}{x} + b \vert x )$

% $ ( \frac{a}{x} + b \Vert x )$

\stopTEXpage

\stoptext

Attachment: fences-002.pdf
Description: Adobe PDF document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to