[NTG-context] Nested fences, inner one changes size with outer one

Mikael P. Sundqvist mickep at gmail.com
Wed Feb 6 15:19:00 CET 2019


Hi,

Is it possible to automatically have the inner fence _not_ change its
size with the outer one?

/Mikael

\definemathfence[Openinterval][left="0028,right="0029,command=yes]
\definemathfence[Set][left="007B,right="007D,command=yes]
\starttext
\startTEXpage[offset=3bp]
Nothing fancy here:
\startformula
\Set{\Openinterval{-n,n}~:~n\in\mathbb N}
\stopformula
Here, I would expect the parenthesis to be of small size:
\startformula
\Set[size=1]{\Openinterval{-n,n}~:~n\in\mathbb N}
\stopformula
This works, but it would be nice not to be forced to write
\type{[size=0]} in the inner construct:
\startformula
\Set[size=1]{\Openinterval[size=0]{-n,n}~:~n\in\mathbb N}
\stopformula
\stopTEXpage
\stoptext
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nestedfences.pdf
Type: application/pdf
Size: 12638 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190206/ab5ecddb/attachment.pdf>


More information about the ntg-context mailing list