Hi Hans, That’s wonderful! Indeed this is very handy and I’ll add it to the wiki. However, before doing so, I would like to ask how is it possible to get the command act entirely in math mode, that is respecting the distances and the math fonts. Please see the attached output. %%% begin interior-of-a-set.tex \definemathstackers[symbol][voffset=-.30\mathexheight,hoffset=\zeropoint] \definemathover[symbol][interiorset]["2218] \starttext Here is the new command \type{\interiorset{K}}: $\mathring{K} \neq \interiorset{K}$ \stoptext %%% end interior-of-a-set.tex Best regards: OK
On 29 Aug 2017, at 19:23, Hans Hagen
wrote: On 8/29/2017 4:24 PM, Otared Kavian wrote:
Thanks Aditya, Indeed the solution is already there in luatex-math.tex… one can just use $\mathring{A}$ out of the box! I see why I love ConTeXt :-) I checked one of the stacker sub-mechanisms and fixed / extended something:
\starttext
\definemathstackers[symbol][voffset=-.30\mathexheight,hoffset=\zeropoint,color=red]
\definemathover[symbol][interiorset]["2217]
\startformula \mathover [symbol]{"2217} {A} \mathover [symbol]{"2218} {A} \mathover [symbol]{"2219} {A} \mathunder [symbol] {"2217}{A} \mathunder [symbol] {"2218}{A} \mathunder [symbol] {"2219}{A}
\mathdouble[symbol]{"2217}{"2217}{A} \mathdouble[symbol]{"2218}{"2218}{A} \mathdouble[symbol]{"2219}{"2219}{A}
\mathring{A} \interiorset{A}^{\interiorset{A}^{\interiorset{A}}} \stopformula
\stoptext
Maybe it comes in handy for weird cases.
(not yet uploaded)
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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________