
Thank you Wolfgang, I guess I'm thinking too complicated. Ultimately, this should result in a type area according to the golden ratio. (textheight = 660 pt = 1.618 * textwidth or something similar, depending on the font size or interlinespace) Greetings Thomas Am 22.02.25 um 13:43 schrieb Wolfgang Schuster:
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 : ntg-context@ntg.nl / 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 ___________________________________________________________________________________