>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
Apart from the link given you might also read the Metafun manual and parts of
the Details manual.
Willi
> On 22 Nov 2016, at 14:04, Henri Menke wrote:
>
> On 11/21/2016 07:44 PM, Jaroslav Hajtmar wrote:
>> Hello ConTeXist.
>>
>> Is there any documentation or manual,
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
> Am 05.12.2016 um 22:21 schrieb Hans Hagen :
>
> On 12/5/2016 9:32 PM, Michael Eidenbenz wrote:
>> Ok I got it.
>>
>> page[disable] is not taken into account by page[odd] so I changed it in
>> page-brk.mkiv:
>>
>> \installpagebreakmethod \v!odd
>>
Hans,
I have the following sample:
\setuppapersize[A5]
\setupinterlinespace[line=4em]
\startsetups[interlinesp:section]
\setupinterlinespace[line=3em]
\stopsetups
\startsetups[interlinesp:subsection]
\setupinterlinespace[line=2.8em]
\stopsetups