Re: [NTG-context] Formulanumbers in margin

2021-03-23 Thread Adam Reviczky
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]

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
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

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Henning Hraban Ramm
> 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

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread 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

Re: [NTG-context] Formulanumbers in margin

2021-03-21 Thread Henning Hraban Ramm
> 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[

[NTG-context] Formulanumbers in margin

2021-03-21 Thread Adam Reviczky
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}]