ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to setup local interlinespace
@ 2010-03-11  9:40 Steffen Wolfrum
  2010-03-11 12:25 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2010-03-11  9:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

setting up interlinespace in a local environment (eg. a quote) does not show any effect in mkiv anymore?

Please have a look at this example:

\usetypescript[postscript]
\definetypeface[postscript][rm][serif][times][default]

\setupbodyfont[postscript,10pt]\setupinterlinespace[line=12pt]
\setuplayout[grid=tolerant]

\definestartstop[quotetest]
[before={\startnarrower\switchtobodyfont[8pt]\setuplocalinterlinespace[line=16pt]\setupwhitespace[0pt]\setupindenting[0em,yes]},after=\stopnarrower]

\starttext

\input tufte \par

\startquotetest

\input tufte \par

\stopquotetest

\stoptext




Steffen
___________________________________________________________________________________
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] 2+ messages in thread

* Re: how to setup local interlinespace
  2010-03-11  9:40 how to setup local interlinespace Steffen Wolfrum
@ 2010-03-11 12:25 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2010-03-11 12:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 11.03.10 10:40, schrieb Steffen Wolfrum:
> Hi,
>
> setting up interlinespace in a local environment (eg. a quote) does not show any effect in mkiv anymore?
>    
Use \setupinterlinespace.

\usetypescript[postscript]
\setupbodyfont[postscript,10pt]

\setupinterlinespace[line=12pt]
\setuplayout[grid=tolerant]

\definedelimitedtext
   [quotetest]
   [leftmargin=standard,
    
before={\switchtobodyfont[8pt]\setupinterlinespace[line=16pt]\setupwhitespace[none]},
    indenting=no]

\setupindenting[yes,medium]

\starttext

\input knuth \par

\startquotetest

\input knuth \par

\stopquotetest

\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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-11 12:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11  9:40 how to setup local interlinespace Steffen Wolfrum
2010-03-11 12:25 ` Wolfgang Schuster

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).