ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Two interline space setup troubles
Date: Sun, 14 Feb 2010 14:33:56 +0100	[thread overview]
Message-ID: <4B77FBC4.9030606@googlemail.com> (raw)
In-Reply-To: <4B76F966.4070101@gmail.com>

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
___________________________________________________________________________________


      parent reply	other threads:[~2010-02-14 13:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.284.1266078273.26807.ntg-context@ntg.nl>
2010-02-13 19:11 ` Vyatcheslav Yatskovsky
2010-02-14 12:23   ` Philipp Gesang
2010-02-14 13:33   ` Wolfgang Schuster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B77FBC4.9030606@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).