ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to format the line "Table of Contents" ?
@ 2007-06-05 12:57 Steffen Wolfrum
  2007-06-05 13:31 ` Wolfgang Schuster
  2007-06-05 17:15 ` David Arnold
  0 siblings, 2 replies; 3+ messages in thread
From: Steffen Wolfrum @ 2007-06-05 12:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

maybe just a detail, but it never was really clear to me:

To change the actual text of TOC's heading I use ...
\setupheadtext [de] [content=Inhaltsverzeichnis]

But how do I manually change the formatting (font, spaces etc.) for this line? 


Steffen
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to format the line "Table of Contents" ?
  2007-06-05 12:57 How to format the line "Table of Contents" ? Steffen Wolfrum
@ 2007-06-05 13:31 ` Wolfgang Schuster
  2007-06-05 17:15 ` David Arnold
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2007-06-05 13:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

2007/6/5, Steffen Wolfrum <context@st.estfiles.de>:
> Hi,
>
> maybe just a detail, but it never was really clear to me:
>
> To change the actual text of TOC's heading I use ...
> \setupheadtext [de] [content=Inhaltsverzeichnis]
>
> But how do I manually change the formatting (font, spaces etc.) for this line?
>
>
> Steffen

Hi Steffen,

I think you write \completecontent in your document. You can change the layout
for the header by defining your own header and and setup this header.

\definehead[contenthead][title]

\setuphead[contenthead][style=...,color=..,...]

You can now write in your document:

\contenthead{Inhaltsverzeichnis}

\placecontent

untested

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to format the line "Table of Contents" ?
  2007-06-05 12:57 How to format the line "Table of Contents" ? Steffen Wolfrum
  2007-06-05 13:31 ` Wolfgang Schuster
@ 2007-06-05 17:15 ` David Arnold
  1 sibling, 0 replies; 3+ messages in thread
From: David Arnold @ 2007-06-05 17:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Does this help?

\setupwhitespace[medium]
\setupindenting[medium,yes]

\definehead[TocHead][chapter]

\setuphead
[TocHead]
[number=no,
   incrementnumber=no,
   before=\blank,
   after=\blank]

\definecombinedlist
[content]
[part,
   chapter,section,subsection,
   subsubsubsection,subsubsubsubsection]
[level=subsubsubsubsection,
   criterium=local]

\def\PageCommand#1{Page #1}

\setuplist
[chapter]
[before=\blank,
   after=\blank,
   style=bold,
   pagecommand=\PageCommand]

\setuplist
[section]
[pagecommand=\PageCommand,
   alternative=c]

\starttext

\TocHead{Table of Contents}

\placecontent

\chapter{New Chapter}

\input knuth

\dorecurse{5}{\expanded{\section{Section \recurselevel}} \input knuth}

\stoptext


On Jun 5, 2007, at 5:57 AM, Steffen Wolfrum wrote:

> Hi,
>
> maybe just a detail, but it never was really clear to me:
>
> To change the actual text of TOC's heading I use ...
> \setupheadtext [de] [content=Inhaltsverzeichnis]
>
> But how do I manually change the formatting (font, spaces etc.) for  
> this line?
>
>
> Steffen
> ______________________________________________________________________ 
> _____________
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-05 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 12:57 How to format the line "Table of Contents" ? Steffen Wolfrum
2007-06-05 13:31 ` Wolfgang Schuster
2007-06-05 17:15 ` David Arnold

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