I'd be greatful for any responses!
Staffan
---
================================================================================
E-Mail: Staffan...@erisoft.se
After 1st of October 1993: d89...@sm.luth.se
================================================================================
>I want to include a preface in my LaTeX report. Does anybody know how to do this?
>I don't want the preface to appear as 'Chapter 1: Preface,' as it does for the moment...
try
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
Greetings
--
Jeroen Paasschens.
Faculty of Science Toernooiveld 1, University of Nijmegen,
6525 ED Nijmegen, the Netherlands
Phone: +31.80.652849 E-mail: jer...@sci.kun.nl
|> try
|> \chapter*{Preface}
|> \addcontentsline{toc}{chapter}{Preface}
A more general solution:
\newcommand{\frontmatter}{\pagenumbering{roman}\setcounter{secnumdepth}{-10}}
\newcommand{\body}{\clearpage\pagenumbering{arabic}\setcounter{secnumdepth}{3}}
\newcommand{\backmatter}{\clearpage\setcounter{secnumdepth}{-10}}
Things in the front- and backmatter get included in the toc, but get
no ugly numbers... Neither in the toc, nor in the text. Adapt
pagenumbering to your taste...
Best,
Arthur
--
***--*--*---------------------- Arthur van Horck ----------------------------+
** * * KUB-University Tilburg, the Netherlands Phone: (+31) 13 662232|
* * * Arthur....@kub.nl Fax: (+31) 13 662537|
+-*--*-----------------------------SPIN\SMCT---------------------------------+
Both of these solutions have a problem when using the book documentstyle
as they don't appear to change the page header. So, for example, if you
have a Preface preceded by a Table of Contents, then the word CONTENTS will
still appear as the header for the Preface.
Is there someone out there who can modify the \frontmatter command to
also change the page header to read PREFACE.
Currently the only solution that I have found is to make the Preface appear
as Chapter 0, which is really ugly.
Denbigh S.