On 8/29/2017 9:56 PM, Otared Kavian wrote:
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
I'll add an offset \definemathstackers [\v!symbol] [\c!voffset=-.3\mathexheight, \c!hoffset=\zeropoint, \c!mathclass=ord, \c!topoffset=.4\mathemwidth, % poor man's italic correction \c!middlecommand=\mathematics] but keep in mind, this is not really meant for accented math, more for special cases 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 -----------------------------------------------------------------