How to format the line "Table of Contents" ?
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
2007/6/5, Steffen Wolfrum
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
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 ______________________________________________________________________ _____________
participants (3)
-
David Arnold
-
Steffen Wolfrum
-
Wolfgang Schuster