ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setuphead interlinespace
@ 2014-07-27  2:06 Yuri Teixeira
  2014-07-27  6:57 ` Herbert Voss
  2014-07-27  8:51 ` Otared Kavian
  0 siblings, 2 replies; 5+ messages in thread
From: Yuri Teixeira @ 2014-07-27  2:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 832 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 985 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

* Re: setuphead interlinespace
  2014-07-27  2:06 setuphead interlinespace Yuri Teixeira
@ 2014-07-27  6:57 ` Herbert Voss
  2014-07-27  8:51 ` Otared Kavian
  1 sibling, 0 replies; 5+ messages in thread
From: Herbert Voss @ 2014-07-27  6:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 27.07.2014 04:06, schrieb Yuri Teixeira:
> 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]

sets the chapter title with a big interline space, not the following text:

\chapter{Some title with some more text to fill more tha a line}

will be of one half spacing

> \startchapter[title={Some title}]
> \setupinterlinespace[big]

this setting will be global not local. The reason why it is valid also
for the next chapter.

Herbert

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

* Re: setuphead interlinespace
  2014-07-27  2:06 setuphead interlinespace Yuri Teixeira
  2014-07-27  6:57 ` Herbert Voss
@ 2014-07-27  8:51 ` Otared Kavian
  2014-07-27 14:16   ` Yuri Teixeira
  1 sibling, 1 reply; 5+ messages in thread
From: Otared Kavian @ 2014-07-27  8:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1619 bytes --]

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@gmail.com> wrote:

> Hello, From 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@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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 2601 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

* Re: setuphead interlinespace
  2014-07-27  8:51 ` Otared Kavian
@ 2014-07-27 14:16   ` Yuri Teixeira
  2014-07-27 16:00     ` Otared Kavian
  0 siblings, 1 reply; 5+ messages in thread
From: Yuri Teixeira @ 2014-07-27 14:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2679 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 4373 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

* Re: setuphead interlinespace
  2014-07-27 14:16   ` Yuri Teixeira
@ 2014-07-27 16:00     ` Otared Kavian
  0 siblings, 0 replies; 5+ messages in thread
From: Otared Kavian @ 2014-07-27 16:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 3523 bytes --]

You are right Yuri, I added your comment to the wiki page concerning setupinterlinespace:
	http://wiki.contextgarden.net/Command/setupinterlinespace

Best regards: OK

On 27 Jul 2014, at 16:16, Yuri Teixeira <yuriteixeira235@gmail.com> wrote:

> 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@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@gmail.com> wrote:
> 
>> Hello, From 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@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@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@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
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 5652 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

end of thread, other threads:[~2014-07-27 16:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-27  2:06 setuphead interlinespace Yuri Teixeira
2014-07-27  6:57 ` Herbert Voss
2014-07-27  8:51 ` Otared Kavian
2014-07-27 14:16   ` Yuri Teixeira
2014-07-27 16:00     ` Otared Kavian

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