Re: [NTG-context] grid snapping problem

2016-12-07 Thread Csikos Bela
Henri Menke írta: >The following should do the trick. Thank you very much. Your code indeed fixes the snap to grid problem but it also pushes the second subsection after the float and leaves a big empty space in the lower part of the first page, which is not desirable. The text should fill the

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Henri Menke
The following should do the trick. However, you have to keep \setnostrut and \setstrut around the figure because the before and after keys for captions are not (yet) implemented. \setuplayout[grid=yes] \showgrid \starttexdefinition caption:text #1 \setuplocalinterlinespace[line=2.2ex] #1

Re: [NTG-context] grid snapping problem

2016-12-06 Thread Csikos Bela
>I would like to use grid snapping in my document: main text lines >should be aligned to grid lines but figure caption text should not. > >I have this code: > >\setuplayout[grid=yes] >\showgrid > >\setupcaptions[width=fit,align=last,headstyle={\ss\bfx},style={\ss\tfx}] > >\starttext

[NTG-context] grid snapping problem

2016-12-02 Thread Csikos Bela
Dear context users: I would like to use grid snapping in my document: main text lines should be aligned to grid lines but figure caption text should not. I have this code: \setuplayout[grid=yes] \showgrid \setupcaptions[width=fit,align=last,headstyle={\ss\bfx},style={\ss\tfx}] \starttext