* Re: Two interline space setup troubles
2010-02-13 19:11 ` Two interline space setup troubles Vyatcheslav Yatskovsky
@ 2010-02-14 12:23 ` Philipp Gesang
2010-02-14 13:33 ` Wolfgang Schuster
1 sibling, 0 replies; 3+ messages in thread
From: Philipp Gesang @ 2010-02-14 12:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 915 bytes --]
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
[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Two interline space setup troubles
2010-02-13 19:11 ` Two interline space setup troubles Vyatcheslav Yatskovsky
2010-02-14 12:23 ` Philipp Gesang
@ 2010-02-14 13:33 ` Wolfgang Schuster
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2010-02-14 13:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread