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}]

Re: [NTG-context] Typing within doifmode leads to error

2021-03-21 Thread Christoph Reller
On Sat, Mar 20, 2021 at 6:07 PM Hans Hagen wrote: > On 3/20/2021 4:00 PM, Christoph Reller wrote: > > On Sat, Mar 20, 2021 at 12:12 PM Hans Hagen > > wrote: > > > > On 3/20/2021 8:24 AM, Aditya Mahajan wrote: > > > On Sat, 20 Mar 2021, Christoph Reller wrote:

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Adam Reviczky
Hi Hans, That does it indeed, thank you! Together with prefixconversion I mainly wanted to use this for formulas in the appendix with the added prefix. I'll add it to the wiki, as it is a very helpful information. Adam On Sun, Mar 21, 2021 at 12:55 PM Hans Hagen wrote: > On 3/20/2021 11:45

Re: [NTG-context] Formula numbering including all prefix segments

2021-03-21 Thread Hans Hagen
On 3/20/2021 11:45 PM, Adam Reviczky wrote: Hi, Is there a way to have formula numbers showing all prefix segments? When I use prefixsegments, I get the desired numbering in the placelist but not in the formula number itself. For example: \starttext