Re: [NTG-context] different interlinear space for quotation?

2012-12-09 Thread Wolfgang Schuster

Am 09.12.2012 um 19:42 schrieb Pablo Rodríguez :

> Hi there,
> 
> I have a text in which I want the interlinear space in narrower
> environments and the font size to be smaller.
> 
> I tried something like the sample below, but it doesn't work (no suprise
> :-().
> 
> \startsetups[setups:narrow]
>  \setupinterlinespace[line=2.8ex]
>  \tfx
> \stopsetups
> 
> \definenarrower[narrowlines][left=4em, setups=setups:narrow]
> 
> \definelines[narrow][before={\blank\startnarrowlines[left]},after=\stopnarrowlines\blank]
> \stopsetups
> 
> \starttext
> \input ward\par
> \startnarrow
> \input knuth\par
> \stopnarrow
> \input ward\par
> \stoptext
> 
> Does anyone know how can I achieve a smaller font size and interlinear
> space only in narrower environments?
> 
> Many thanks for your help,

http://www.ntg.nl/pipermail/ntg-context/2012/070327.html

You can use the “style” key to \defineannotation to change the font/size.

You also change line spacing with the “interlinespace” key but value won’t be 
used unless you set “paragraph=yes”.

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
___


[NTG-context] different interlinear space for quotation?

2012-12-09 Thread Pablo Rodríguez
Hi there,

I have a text in which I want the interlinear space in narrower
environments and the font size to be smaller.

I tried something like the sample below, but it doesn't work (no suprise
:-().

\startsetups[setups:narrow]
  \setupinterlinespace[line=2.8ex]
  \tfx
\stopsetups

\definenarrower[narrowlines][left=4em, setups=setups:narrow]

\definelines[narrow][before={\blank\startnarrowlines[left]},after=\stopnarrowlines\blank]
\stopsetups

\starttext
\input ward\par
\startnarrow
\input knuth\par
\stopnarrow
\input ward\par
\stoptext

Does anyone know how can I achieve a smaller font size and interlinear
space only in narrower environments?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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
___