On 9/21/2023 11:21 AM, Aditya Mahajan wrote:
On Thu, 21 Sep 2023, Xavier B. wrote:
Hi,
I want to write:
$0,00\stackrel{\smallfrown}{4}$
like latex
[https://tex.stackexchange.com/questions/39225/differences-between-stackrel-and-stackbin]
but context LMTX does not recognize stackrel
What can I do?
\stackrel is defined in context (with almost the same definition as latex). You
get an error because \smallfrown is not defined.
a teaser for Aditya:
\definemathstackers[toprel][top][mathclass=\mathrelationcode]
\definemathstackers[topbin][top][mathclass=\mathbinarycode]
\definemathextensible[toprel][frownedupon]["2322]
\definemathextensible[topbin][frowned] ["2322]
\starttext
$x \frownedupon{4} y + \frowned{!} z = 10$
\stoptext
-----------------------------------------------------------------
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 / 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
___________________________________________________________________________________