ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] Changing the font of the TOC-Title
Date: Mon, 15 Apr 2013 10:14:14 +0200	[thread overview]
Message-ID: <3A208061-BEE6-4EAA-89C0-4B32D41665DB@gmail.com> (raw)
In-Reply-To: <516B98FE.4010005@mmnetz.de>


Am 15.04.2013 um 08:06 schrieb "H. Özoguz" <h.oezoguz@mmnetz.de>:

> 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)

The title for the TOC is placed with the \title command, to change it’s style you have
to change the values for \title, e.g.

  \setuphead[title][style=\ssc]

When you don’t want to change the style of all title-headings you can create
your heading with a different style, e.g.

  \definehead[toctitle][title]

  \setuphead[toctitle][style=\ssc]

  \starttext

  \toctitle[content]{\headtext{content}}

  \placecontent

  …

  \stoptext

Wolfgang
___________________________________________________________________________________
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	other threads:[~2013-04-15  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-15  6:06 "H. Özoguz"
2013-04-15  8:14 ` Wolfgang Schuster [this message]
2013-04-15  8:20 ` Tim Li
2013-04-15  8:25   ` Tim Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A208061-BEE6-4EAA-89C0-4B32D41665DB@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).