Article View: comp.text.tex
Article #10046Re: LaTeX bug/feature: A matter of style?
From: Kresten Krab Thorup
Date: Sun, 02 Jun 1991 18:04
Date: Sun, 02 Jun 1991 18:04
50 lines
2592 bytes
2592 bytes
>>>>> 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
Technical Details
Message-ID:
<KRAB.91Jun2190404@giga.iesd.auc.dk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!njin!uupsi!sunic!dkuug!iesd!iesd.auc.dk!krabReferences:
<1991May31.094228.11053@fwi.uva.nl>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!njin!uupsi!sunic!dkuug!iesd!iesd.auc.dk!krab From: krab@iesd.auc.dk (Kresten Krab Thorup) Newsgroups: comp.text.tex Subject: Re: LaTeX bug/feature: A matter of style? Message-ID: <KRAB.91Jun2190404@giga.iesd.auc.dk> Date: 2 Jun 91 18:04:04 GMT References: <1991May31.094228.11053@fwi.uva.nl> Sender: news@iesd.auc.dk Organization: Mathematics and Computer Science, University of Aalborg Lines: 50 In-reply-to: smagt@fwi.uva.nl's message of 31 May 91 09:42:28 GMT