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
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
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
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 ___________________________________________________________________________________
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
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
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
___________________________________________________________________________________
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
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
: 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
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 ___________________________________________________________________________________
participants (3)
-
Herbert Voss
-
Otared Kavian
-
Yuri Teixeira