Thanks Hraban,

I've tried the numbercommand as well, but that also just makes the formula
number disappear, unless I am doing something wrong.

The framing as per the math manual (manuals/math/math-framing.tex
<https://github.com/contextgarden/context-mirror/blob/a0270f13065d116355a953c6f246cbba26289fc2/doc/context/sources/general/manuals/math/math-framing.tex>)
however does work, so not sure:
\setupformula[numbercommand={\inframed[framecolor=green]}]

Adam

On Sun, Mar 21, 2021 at 7:47 PM Henning Hraban Ramm <te...@fiee.net> wrote:

>
>
> > Am 21.03.2021 um 19:40 schrieb Adam Reviczky <revic...@gmail.com>:
> >
> > % this makes the formulanumber disappear
> > % \setupformulas[location={rightmargin}]
>
> No, \setupformula’s location understands only left and right.
>
> Try something like:
>
> \define[1]\MyFormulaNumber{\inmargin{#1}}
>
> \setupformula[
>         numbercommand=\MyFormulaNumber
> ]
>
>
> Hraban
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to