ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* `\setupinterlinespace` and `\{start, stop}standardmakeup`
@ 2011-07-26 16:20 Paul Menzel
  2011-07-26 20:55 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2011-07-26 16:20 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 882 bytes --]

Dear ConTeXt folks,


following Wolfgang’s advise [1] (Thank you, Wolfgang!) I learned about `
\{start,stop}standardmakeup`.

Am Samstag, den 05.02.2011, 19:34 +0100 schrieb Wolfgang Schuster:

[…]

> \starttext
> 
> \startstandardmakeup[align=middle]
> \definedfont[Serif at 30pt]Titlepage
> \stopstandardmakeup
> 
> …
> 
> \stoptext

Now I am having a title consisting of more than one line and I noticed
the space between those lines seems to be too small. Trying to increase
the space using `\setupinterlinespace` [2] it did not work. I had to use
`\blank` in between. Is that expected? Is it documented somewhere when
`setupinterlinespace` has no effect?

Please find my tests attached.


Thanks,

Paul



[1] http://www.ntg.nl/pipermail/ntg-context/2011/056536.html
[2] http://wiki.contextgarden.net/Reference/en/setupinterlinespace

[-- Attachment #1.1.2: space.pdf --]
[-- Type: application/pdf, Size: 12309 bytes --]

[-- Attachment #1.1.3: space.tex --]
[-- Type: text/x-tex, Size: 1196 bytes --]

\starttext
\startlines[align=flushright,style={\switchtobodyfont[36pt,ss]}]
Very long title which

should cover two lines
\stoplines

\startstandardmakeup
\startlines[align=flushright,style={\switchtobodyfont[36pt,ss]}]
Very long title which

should cover two lines
\stoplines
\stopstandardmakeup

\startstandardmakeup[align=middle]
\setupinterlinespace[medium]
\definedfont[Serif at 30pt]Very long title which should cover two lines
\stopstandardmakeup

\startstandardmakeup[align=middle]
\setupinterlinespace[big]
\definedfont[Serif at 30pt]Very long title which should cover two lines
\stopstandardmakeup

\startstandardmakeup[align=middle]
\setupinterlinespace[big]
\definedfont[Serif at 30pt]Very long title which should cover\blank
two lines
\stopstandardmakeup

\startstandardmakeup[align=middle]
\setupinterlinespace[big]
\definedfont[Serif at 30pt]Very long title which should cover\blank
two lines
\stopstandardmakeup

\setupinterlinespace[medium]
\definedfont[Serif at 30pt]Very long title which should cover\blank
two lines

\setupinterlinespace[big]
\definedfont[Serif at 30pt]Very long title which should cover\blank
two lines
\stoptext

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 3+ messages in thread

* Re: `\setupinterlinespace` and `\{start, stop}standardmakeup`
  2011-07-26 16:20 `\setupinterlinespace` and `\{start, stop}standardmakeup` Paul Menzel
@ 2011-07-26 20:55 ` Wolfgang Schuster
  2011-07-27 15:16   ` Paul Menzel
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-07-26 20:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 26.07.2011 um 18:20 schrieb Paul Menzel:

> Dear ConTeXt folks,
> 
> 
> following Wolfgang’s advise [1] (Thank you, Wolfgang!) I learned about `
> \{start,stop}standardmakeup`.
> 
> Am Samstag, den 05.02.2011, 19:34 +0100 schrieb Wolfgang Schuster:
> 
> […]
> 
>> \starttext
>> 
>> \startstandardmakeup[align=middle]
>> \definedfont[Serif at 30pt]Titlepage
>> \stopstandardmakeup
>> 
>> …
>> 
>> \stoptext
> 
> Now I am having a title consisting of more than one line and I noticed
> the space between those lines seems to be too small. Trying to increase
> the space using `\setupinterlinespace` [2] it did not work. I had to use
> `\blank` in between. Is that expected? Is it documented somewhere when
> `setupinterlinespace` has no effect?

Put \setupinterlinespace after \definedfont, e.g.

  \definedfont[Serif at 30pt]\setupinterlinespace …

or

  \definedfont[Serif at 30pt]\setupinterlinespace[2]…

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

* Re: `\setupinterlinespace` and `\{start, stop}standardmakeup`
  2011-07-26 20:55 ` Wolfgang Schuster
@ 2011-07-27 15:16   ` Paul Menzel
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Menzel @ 2011-07-27 15:16 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1.1: Type: text/plain, Size: 1397 bytes --]

Am Dienstag, den 26.07.2011, 22:55 +0200 schrieb Wolfgang Schuster:
> Am 26.07.2011 um 18:20 schrieb Paul Menzel:

> > following Wolfgang’s advise [1] (Thank you, Wolfgang!) I learned about `
> > \{start,stop}standardmakeup`.
> > 
> > Am Samstag, den 05.02.2011, 19:34 +0100 schrieb Wolfgang Schuster:
> > 
> > […]
> > 
> >> \starttext
> >> 
> >> \startstandardmakeup[align=middle]
> >> \definedfont[Serif at 30pt]Titlepage
> >> \stopstandardmakeup
> >> 
> >> …
> >> 
> >> \stoptext
> > 
> > Now I am having a title consisting of more than one line and I noticed
> > the space between those lines seems to be too small. Trying to increase
> > the space using `\setupinterlinespace` [2] it did not work. I had to use
> > `\blank` in between. Is that expected? Is it documented somewhere when
> > `setupinterlinespace` has no effect?
> 
> Put \setupinterlinespace after \definedfont, e.g.
> 
>   \definedfont[Serif at 30pt]\setupinterlinespace …
> 
> or
> 
>   \definedfont[Serif at 30pt]\setupinterlinespace[2]…

Wolfgang, thank you very much again! That indeed works.

I settled with `\setstrut \strut` as in the example in the Wiki page
»Simple Cover Page« [3].

Although I do get different line spaces when `\setstrut` is left out,
which I also do not understand.


Thanks,

Paul


[3] http://wiki.contextgarden.net/Simple_Cover_Page

[-- Attachment #1.1.2: strut.pdf --]
[-- Type: application/pdf, Size: 6126 bytes --]

[-- Attachment #1.1.3: strut.tex --]
[-- Type: text/x-tex, Size: 267 bytes --]

\starttext
\startstandardmakeup[align=middle]
\definedfont[Serif at 30pt]\strut This is a multiline title with over one line.
\blank[2*big]
\definedfont[Serif at 30pt]\setstrut \strut This is a multiline title with over one line.
\stopstandardmakeup
\stoptext

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26 16:20 `\setupinterlinespace` and `\{start, stop}standardmakeup` Paul Menzel
2011-07-26 20:55 ` Wolfgang Schuster
2011-07-27 15:16   ` Paul Menzel

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