[texhax] trying to modify book.cls to automatically add TOC entry for \chapter* gives errors

Morten Høgholm morten.hoegholm at gmail.com
Thu May 8 09:22:44 CEST 2008

On Wed, May 7, 2008 at 6:12 PM, Niall Mansfield <texhax at uit.co.uk> wrote:
> - Using book.cls
> - Want to change \chapter*{} in order to:
>        * add a TOC entry
>        * set the running heads
>   so that we can use \chapter*{} for Preface, Foreword,
>   Glossary, etc.

These are the keywords. What you seem to be looking for is
\frontmatter, \mainmatter and \backmatter. Then no starred versions of
\chapter are needed.


More information about the texhax mailing list