From Wiki
Jump to navigation Jump to search

In some situations one may be willing to have a different interlinespace in a particular part of text, header, etc. To this end one can use the command


or its synonym


Either of these commands should be enclosed in a \start...\stop pair. The arguments taken by \setuplocalinterlinespace or its synonym \switchtointerlinespace are analogous to the dimensions used in \setupinterlinespace. Below is an example, with some explanations of the commands.

\setupinterlinespace[line=3.2ex] % global setting 
                           % (\setupinterlinespace[3.2ex] == \setupinterlinespace[line=3.2ex])


\input ward

\setupinterlinespace[big] % big = 1.5 * global value (small = 1x, medium = 1.25x)

\input ward


\setupinterlinespace[reset] % here we go back to the global interlinespace set before

\input ward

\setuplocalinterlinespace[line=4ex] % here a local value for the interlinespace is set

\input ward

\stop  % an empty line or \par before the end of the group is necessary