[NTG-context] setuphead interlinespace

Yuri Teixeira yuriteixeira235 at gmail.com
Sun Jul 27 16:16:59 CEST 2014


Thank you, this is really what I wanted. I found the source of my confusion
too: \setupinterlinespace is local inside \start-stopnarrower

\setupinterlinespace[5] % this has no effect before \starttext

\starttext
\input tufte % this is default small, not 5
\setupinterlinespace[big]
\input tufte % this is big

\startnarrower[left]
\setupinterlinespace[small]
\input tufte % this is small
\stopnarrower

\input tufte % this is big again
\stoptext


2014-07-27 5:51 GMT-03:00 Otared Kavian <otared at gmail.com>:

> Hi,
>
> Have a look at the following wiki page:
> http://wiki.contextgarden.net/setuplocalinterlinespace
>
> It may help you achieve what you want to do.
>
> Best regards: OK
>
> On 27 Jul 2014, at 04:06, Yuri Teixeira <yuriteixeira235 at gmail.com> wrote:
>
> Hello, From command/setuphead
> <http://wiki.contextgarden.net/Command/setuphead> I inferred this should
> work to set linespace to 1.5 within the chapter/section but it doesn't.
> Should it? I read on \setupinterlinespace and it's resetting mechanic but
> thought the parameter in setuphead would work. Also, I checked and this
> parameter is not mentioned in the manual, so maybe it does not exist.
>
> \setuphead[chapter][interlinespace=big]
>
> \starttext
> \chapter{Some title}
> Lines with 1.5 space? \input tufte
>
> \startchapter[title={Some title}]
> Try again? \input tufte
> \stopchapter
>
> \startchapter[title={Some title}]
> \setupinterlinespace[big]
> Now it works. \input tufte
> \stopchapter
>
> \startchapter[title={Some title}]
> But it "leaks" out of the previous start-stopchapter. \input tufte
> \stopchapter
> \stoptext
>
> Thank you for your attention,
> YT
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at 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
>
> ___________________________________________________________________________________
>
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140727/41b46182/attachment.html>


More information about the ntg-context mailing list