smagt@fwi.uva.nl (Patrick van der Smagt) (05/31/91)
In the book I am writing in LaTeX I use \part, \chapter, \section, and so on. In some cases, I want to start a \part with an introduction, without giving this introduction a separate chapter. I.e., \part{...} ...Introductory text... \chapter{...}% the first chapter of this part ... \chapter{...} ... Now, all \labels I make in the introduction get the number of the last \chapter before the current \part. Obviously, this is not correct. But what to do about this? Since the references in that introduction cannot get a chapter number, there are some options: o give each label a number consisting of the part number plus the label number (e.g., (IV.1), (IV.2), ...). Very ugly? o only use the label number (e.g., (1), (2)). o don't use this kind of introduction, i.e., create a new chapter for it. That is to say, no text inbetween \part and the next \chapter. Is this correct, typographically? If so, then why does the table of contents show the page number of the part? That seems inconsequent. Patrick van der Smagt
krab@iesd.auc.dk (Kresten Krab Thorup) (06/03/91)
>>>>> On 31 May 91 09:42:28 GMT, smagt@fwi.uva.nl (Patrick van der Smagt) said:
Patrick> Nntp-Posting-Host: chris.fwi.uva.nl
Patrick> In the book I am writing in LaTeX I use \part, \chapter, \section, and
Patrick> so on. In some cases, I want to start a \part with an introduction,
Patrick> without giving this introduction a separate chapter. I.e.,
Patrick> \part{...}
Patrick> ...Introductory text...
Patrick> \chapter{...}% the first chapter of this part
Patrick> ...
Patrick> \chapter{...}
Patrick> ...
Patrick> Now, all \labels I make in the introduction get the number of the last
Patrick> \chapter before the current \part. Obviously, this is not correct.
You're right. The chapter counter should be initialized to zero.
Patrick> But what to do about this? Since the references in that introduction
Patrick> cannot get a chapter number, there are some options:
Patrick> o give each label a number consisting of the part number plus
Patrick> the label number (e.g., (IV.1), (IV.2), ...). Very ugly?
Patrick> o only use the label number (e.g., (1), (2)).
A such introduction should not need labels/references as far as I can
see. Anyway - the generation of label numbers, from e.g. equations
depend on how you define their numbering.
Patrick> o don't use this kind of introduction, i.e., create a new
Patrick> chapter for it. That is to say, no text inbetween \part and
Patrick> the next \chapter. Is this correct, typographically? If so,
Patrick> then why does the table of contents show the page number of
Patrick> the part? That seems inconsequent.
At this point I can only agree wholly hearted. In my last thesis, I
changed part, so that it didn't produce line numbers in the t.o.c.
This is the best solution I can see. To do this, you should just
include:
\let\opart\part
\def\part{{\def\thepage{}\opart}}
At the top of you'r document.
/Kresten