Hi,
So the numbercommand does work after all, I just needed to keep something
in the "formulanumber" part of the textline, otherwise it wouldn't get
drawn.
Not sure how nice this looks, but it does work like this now:
\starttext
\showframe
\setupformulas[numbercommand=\nbsp\inrightmargin]
Thanks Hraban,
That should be fine, I've tried to increase the margins as well, but not
sure that's the issue as I can perfectly place text with \inmargin
directly, just not with the numbercommand.
MWE:
\starttext
\setuplayout[margin=2cm, leftmargin=2cm, rightmargin=2cm]
\showframe
\showlayout
> Am 21.03.2021 um 20:56 schrieb Adam Reviczky :
>
> 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) however
> does
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
> Am 21.03.2021 um 19:40 schrieb Adam Reviczky :
>
> % 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[
Hi,
One more question on formulas. How can I get the formula number to be put
into the left/right margin instead of left/right inside the text?
I have tried the following:
\starttext
\showframe
% figure caption into the margin
\setupcaption[figure][location={rightmargin}]