[NTG-context] Working with conditionals

Cecil Westerhof cldwesterhof at gmail.com
Mon Jan 3 12:04:03 CET 2011


2011/1/3 Vianney le Clément <vleclement at gmail.com>:
> \def\Title{\dodoubleempty\doTitle}
> \def\doTitle[#1][#2]{
>  \ifsecondargument
>     \testpage[#2]
>  \else
>     \testpage[10]
>  \fi
>  \startalignment[center]
>  {
>     \blank[2*big]
>     \switchtobodyfont[1.5em]
>     \bf\em#1
>  }
>  \blank
>  \stopalignment
> }

Works, thanks.

-- 
Cecil Westerhof


More information about the ntg-context mailing list