Command/setupinterlinespace

From Wiki
Jump to navigation Jump to search

\setupinterlinespace

Syntax

\setupinterlinespace[...]|[...,...=...,...]|
[...] reset small medium auto big on off
height number
depth number
line dimension
top number
bottom number


Description

can be used in 3 variants:

1. \setupinterlinespace
   (without any param) set line=2.8ex

2. \setupinterlinespace[...]
   reset
   small
   medium
   big
   on
   off

3. \setupinterlinespace[...,...=...,...]
   line:   base interline spacing (baselineskip) (e.g. 3ex or 12pt)

   height: size of strut as multiple of line height (e.g. 0.72)
   depth:  size of strut as multiple of line height (e.g. 0.28)

   top:    topskip (as multiple of line height)
   bottom: maxdepth (as multiple of line height)

   stretch: (glue) line stretching

Comment

It seems, that \setupinterlinespace[line=XX\baselineskip] interacts badly with \setuplayout while \setupinterlinespace[big] works fine.


Example

\starttext
{\definedfont[Serif at 32pt]This is the long long long title of my book.\par}

{\definedfont[Serif at 32pt]\setupinterlinespace This is the long long long title of my book.\par}
\stoptext

See also