8 Mar
2007
8 Mar
'07
1:25 p.m.
2007/3/7, Sanjoy Mahajan
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