Difference between revisions of "Command/setupinterlinespace"

From ConTeXt wiki
(Create reference page)
 
m (cleanup)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=setupinterlinespace
 
|name=setupinterlinespace
Line 63: Line 61:
  
 
   stretch: (glue) line stretching
 
   stretch: (glue) line stretching
 +
</pre>
  
</pre>
+
== Comment ==
== comment ==
+
 
<pre>
+
It seems, that <tt>\setupinterlinespace[line=XX\baselineskip]</tt> interacts badly with <tt>\setuplayout</tt> while <tt>\setupinterlinespace[big]</tt> works fine.
It seems, that \setupinterlinespace[line=XX\baselineskip] interacts badly with \setuplayout while \setupinterlinespace[big] works fine.
 
</pre>
 
  
  

Revision as of 12:59, 14 April 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: ration|size of strut (e.g. 0.72 or 9pt)
   depth:  ration|size of strut (e.g. 0.28 or 3pt)

   top:    topskip amount
   bottom: maxdepth amount

   stretch: (glue) line stretching

Comment

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


Example

See also