Difference between revisions of "Command/setupinterlinespace"

From ConTeXt wiki
m (cleanup)
(Corrected units after clarification on mailing list.)
Line 54: Line 54:
 
   line:  base interline spacing (baselineskip) (e.g. 3ex or 12pt)
 
   line:  base interline spacing (baselineskip) (e.g. 3ex or 12pt)
  
   height: ration|size of strut (e.g. 0.72 or 9pt)
+
   height: size of strut as multiple of line height (e.g. 0.72)
   depth:  ration|size of strut (e.g. 0.28 or 3pt)
+
   depth:  size of strut as multiple of line height (e.g. 0.28)
  
   top:    topskip amount
+
   top:    topskip (as multiple of line height)
   bottom: maxdepth amount
+
   bottom: maxdepth (as multiple of line height)
  
 
   stretch: (glue) line stretching
 
   stretch: (glue) line stretching

Revision as of 06:34, 15 May 2010

\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

See also