# [texhax] Customizng the Appearance of Parts and Chapters in the TOC

Tue Jan 11 16:10:36 CET 2011

```On 2011-01-11 00:11, jmcar at earthlink.net wrote:
> I have a question for anyone who might be able to help:
> starting with their number, so for instance if the third chapter is
> specified in the body of the document by the command \chapter{Basic
> 3 Basic Probability Theory
> Chapter 3 Basic Probability Theory
> In other words, the user wants the word "Chapter" to be printed in front
> of the chapter number. Or what if the user wants the toc entry to print as:
> Chapter 3: Basic Probability Theory
> i.e. print "Chapter" before the section number and also print a colon
> after the section number.
> The document class I'm using is "book", and I'd like to make these types
> of customizations with both the "part" and "chapter" sections.
> Thanks!
> Jerry Coleman