[NTG-context] force line spacing

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Sat Jan 11 20:49:12 CET 2020


Henning Hraban Ramm schrieb am 11.01.2020 um 20:11:
>> Am 2020-01-11 um 20:05 schrieb Wolfgang Schuster 
>> <wolfgang.schuster.lists at gmail.com 
>> <mailto:wolfgang.schuster.lists at gmail.com>>:
>>
>> Henning Hraban Ramm schrieb am 11.01.2020 um 19:59:
>>> But I need to keep the line spacing, even if accents collide.
>>> E.g.
>>>
>>> \setupbodyfont[rm,20pt]
>>> \setupinterlinespace[8mm]
>>> \setuplayout[
>>>   width=10cm,
>>> %grid=yes, % different, but bad either way
>> grid=strut,
>>> ]
>>> \showgrid
>
> That works in my simple example, but not in my actual project (see 
> attached image).
> Besides, the setting moves my chapter titles into the topspace??

Add this before you set the fonts (page 156 in fonts-mkiv.pdf):

\definefontfeature [default] [default] [dimensions=strut]

Wolfgang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200111/96a1d82a/attachment.htm>


More information about the ntg-context mailing list