2007/3/7, Sanjoy Mahajan <[EMAIL PROTECTED]>:

> why not
>
> \setuphead
>   [title]
>   [style=\ss\bfd,
>    before={\switchtobodyfont[14.4pt]},
>    after={\switchtobodyfont[global]}]

Because I didn't know about the global option :-)

It's cleaner than my method.  It's only disadvantage is that the
global setting may not be the one in effect just outside the \title.
e.g.

\setupbodyfont[10pt]
\starttext

\begingroup
\setupbodyfont[20pt]
A big line

\title{some title}

after the title
\endgroup

More text

\stoptext

would put 'after the title' in 10pt instead of 20pt.

-Sanjoy


Hi Sanjoy,

i forget this when I was writing my last mail, it is indeed better to change
the font inside a group instead a global change.

Wolfgang
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to