Hello, I have some troubles with interline space setup. 1) I want whole document to have medium interline space. When I put \setupinterlinespace[medium] in the preample (before \starttext), it has no effect at all. I want keep all style definitions in a separate environment module, so how to make this setting 'global'? 2) The inbetween key does not work in the following command: \definestartstop[example][style={\tfx}, before={\blank[small]}, after={\blank[small]}, inbetween={\setupinterlinespace[big]}] I can write before={\blank[small]\setupinterlinespace[big]}, after={\setupinterlinespace[medium]\blank[small]} but in this way I hard-code document interlinespace (i.e., medium) in this definition, and this is not elegant solution at all. Regards, Vyatcheslav
Hi Vyatceslav, On 2010-02-13 <21:11:34>, Vyatcheslav Yatskovsky wrote:
Hello,
I have some troubles with interline space setup.
1) I want whole document to have medium interline space. When I put
\setupinterlinespace[medium]
in the preample (before \starttext), it has no effect at all. I want keep all style definitions in a separate environment module, so how to make this setting 'global'?
this is strange, as you can specify line spacing globally using explicit parameters, e.g. \setupinterlinespace[line=19pt] \starttext \input knuth \stoptext this works for me. The relative dimensions big|small|medium don't have any noticable effect, though. Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Am 13.02.10 20:11, schrieb Vyatcheslav Yatskovsky:
Hello,
I have some troubles with interline space setup.
1) I want whole document to have medium interline space. When I put
\setupinterlinespace[medium]
in the preample (before \starttext), it has no effect at all. I want keep all style definitions in a separate environment module, so how to make this setting 'global'? You can't use relative interlinespacing in MkIV anymore because \starttext resets your setting. What you can do is to set a absolute value with \setupinterlinespace[line=18pt]. 2) The inbetween key does not work in the following command:
\definestartstop[example][style={\tfx}, before={\blank[small]}, after={\blank[small]}, inbetween={\setupinterlinespace[big]}]
I can write
before={\blank[small]\setupinterlinespace[big]}, after={\setupinterlinespace[medium]\blank[small]}
but in this way I hard-code document interlinespace (i.e., medium) in this definition, and this is not elegant solution at all. \definestartstop [example] [before={\blank[small]}, after={\blank[small]}, style=\tfx, commands={\setupinterlinespace[big]}]
Wolfgang
participants (3)
-
Philipp Gesang
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster