Am 22.02.2025 um 13:02 schrieb Thomas Meyer:
Hi folks,

is it possible to calculate with interlinespace and lines?

For example:
interlinespace = 15pt
lines = 44

Something like that -> textheight = interlinespace * lines = 660 pt

How can I do it and were can I find information about this?


Can you provide more information because the layout already take the number of lines and the line height into account when it calculates the text height.

\showgrid

\setuplayout[lines=20]

\starttext

\page[dummy]

\page

\setuplayout[lines=30]

\page[dummy]

\page

\setupinterlinespace[line=4ex]
\setuplayout[lines=20]

\page[dummy]

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to