ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* different interlinear space for quotation?
@ 2012-12-09 18:42 Pablo Rodríguez
  2012-12-09 19:32 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Rodríguez @ 2012-12-09 18:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: different interlinear space for quotation?
  2012-12-09 18:42 different interlinear space for quotation? Pablo Rodríguez
@ 2012-12-09 19:32 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-12-09 19:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 09.12.2012 um 19:42 schrieb Pablo Rodríguez <oinos@web.de>:

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


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

end of thread, other threads:[~2012-12-09 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-09 18:42 different interlinear space for quotation? Pablo Rodríguez
2012-12-09 19:32 ` 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).