oh, sorry, I don't konw Wolfgang has replied to this question. Please take the 
method provided by Wolfgang.
 From: timli2...@outlook.com
To: ntg-context@ntg.nl
Subject: RE: [NTG-context] [***SPAM***] Changing the font of the TOC-Title
Date: Mon, 15 Apr 2013 08:20:11 +0000




I have achieved this by the following method:

 I think we'd better only change the label by \setupheadtext and chage its 
style by \setuphead. An example as follows
 
\setupheadtext[content={CONTENTS}]
\def\mytitle#1{%
  \midaligned{#1}}
\setuphead
  [title]
  [style={\bfb},
   color=red,
   before={},
   after={\blank[3*big]},
   textcommand={\mytitle}]
 
it works well for me :-)
 
but please note that if you use \title in the frontmatter, the title also will 
be changed. Maybe you want to define your own title to solve this problem.
> Date: Mon, 15 Apr 2013 08:06:54 +0200
> From: h.oezo...@mmnetz.de
> To: ntg-context@ntg.nl
> Subject: [NTG-context] [***SPAM***] Changing the font of the TOC-Title
> 
> Hello,
> 
> I know, that I can change the TOC-Title by
> 
> \setupheadtext[content=Whatever the TOC-Title may be]
> 
> How can I change the Font of the TOC-Title, is there a style key, or 
> somewhat like that?
> (Directly "\setupheadtext[content=Whatever the TOC-Title may be, 
> style=Chapterstyle]" does not work, where "Chapterstyle" is a defined Font)
> 
> Huseyin
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
                                                                                
  
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to