[NTG-context] stelinterliniein

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sun May 30 14:40:49 CEST 2010


Am 30.05.10 13:45, schrieb Vyatcheslav Yatskovsky:
> Hello,
>
> What \stelinterliniein means in the following (taken from Skdk style).
>
> \def\StartTitlePage%
> {\startstandardmakeup[doublesided=no]
> \setupbackgrounds[header][text][background=]
> \switchtobodyfont[ss,18pt]
> \setupalign[right]
> \setupindenting[0pt]
> \stelinterliniein
> \vfil
> \let\\=\blank}
>
>
> I suppose that it is \setupinterlinespace, but it does not work without
> arguments, as seen in my minimal example:
>
>
> ---------------
>
> \setuphead
> [Part]
> [number=no,
> style={\ss\bfd},
> page=right]
>
> \def\StartTitlePage%
> {\startstandardmakeup[doublesided=no]
> \setupbackgrounds[header][text][background=]
> \switchtobodyfont[ss,18pt]
> \setupalign[right]
> \setupindenting[0pt]
> \setupinterlinespace
> \vfil
> \let\\=\blank}

\def\StartTitlePage
 
{\startstandardmakeup[doublesided=no,align=right,style={\switchtobodyfont[ss,18pt]}]
    \setupbackgrounds[header][text][background=]
    \setupindenting[none]
    \setupinterlinespace
    \let\\=\blank}

> \def\StopTitlePage%
> {\vfill
> {\tfx Version \currentdate[year,-,mm,-,dd] }
>
> \stopstandardmakeup
> }

add \par:

\def\StopTitlePage
   {\par\vfill
    {\tfx Version \currentdate[year,-,mm,-,dd]}
    \stopstandardmakeup}

> \def\TitlePage#1{\StartTitlePage\Part{#1}\StopTitlePage}

also possible:

\definehead[TitlePage][part]

\setuphead
   [TitlePage]
   [before=\StartTtitlePage,
    after=\StopTitlePage]

Wolfgang


More information about the ntg-context mailing list