Does anybody know how to change the interline space in a part of a document? I send again the message below: Hi all, I don’t know how to change the interline space in a chapter. In principle I thought that if at some point I have used for some reason \setupinterlinespace[4.0ex] then saying \setupinterlinespace[reset,small] would reset the interline space to its default value, but this is not the case. The version I am using is: ConTeXt ver: 2014.07.04 15:55 MKIV beta fmt: 2014.7.5 int: english/english Here is a minimal example: %%%% begin bug-interline.tex \setupinterlinespace[4.0ex] \starttext \input knuth.tex \page \setupinterlinespace[reset,small] \input knuth.tex \stoptext %%%% end bug-interline.tex Thanks for your help: OK
Am 07.07.2014 um 18:35 schrieb Otared Kavian
Does anybody know how to change the interline space in a part of a document?
\setupinterlinespace[line=3.2ex] % global setting (\setupinterlinespace[3.2ex] == \setupinterlinespace[line=3.2ex]) \starttext \input ward \blank \setupinterlinespace[big] % big = 1.5 * global value (small = 1x, medium = 1.25x) \input ward \blank \setupinterlinespace[reset] \input ward \blank \start \setuplocalinterlinespace[line=4ex] % you need a empty line or \par before you end the group \input ward \stop \stoptext Wolfgang
Thanks Wolfgang!
Indeed I didn’t know
\setuplocalinterlinespace
and the fact that it has to be enclosed between \start \stop grouping.
I tried to put this information on the wiki, but it seems that
http://wiki.contextgarden.net
is down today.
Best regards: OK
On 07 Jul 2014, at 22:45, Wolfgang Schuster
Am 07.07.2014 um 18:35 schrieb Otared Kavian
: Does anybody know how to change the interline space in a part of a document?
\setupinterlinespace[line=3.2ex] % global setting (\setupinterlinespace[3.2ex] == \setupinterlinespace[line=3.2ex])
\starttext
\input ward
\blank \setupinterlinespace[big] % big = 1.5 * global value (small = 1x, medium = 1.25x)
\input ward
\blank \setupinterlinespace[reset]
\input ward
\blank \start \setuplocalinterlinespace[line=4ex] % you need a empty line or \par before you end the group
\input ward
\stop
\stoptext
Wolfgang
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Otared Kavian
-
Wolfgang Schuster