Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

If I use the quotchap package, with the following sample code,

\chapter{Chapter 2 Heading}

it recognizes chapter 2 as chapter 1, and does not assign a number to the first chapter which is read from the following file:

A quote.

Any hint for this problem?

share|improve this question

closed as too localized by cgnieder, Stefan Kottwitz Dec 13 '12 at 21:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

That because you used \chapter* in the file. The starred variant produces an unnumbered chapter heading (which also doesn't step the chapter counter). –  cgnieder Dec 13 '12 at 19:41
the chapter definition in your file specifically says not to number that chapter, this is what the * in \chapter*{} mean. –  ArTourter Dec 13 '12 at 19:43
Thanks. That indeed was the reason. If you post it as an answer, I will accept it. –  Tarek Dec 13 '12 at 19:50
@Vivi There's no problem at all! I didn't want to sound rude (English is not my native language so I can't be sure, though, that I haven't). Since the starred versions of the sectioning commands are mentioned in every basic introductory I know it appeared natural that the OP hasn't read any, yet... –  cgnieder Dec 13 '12 at 22:00
@cgnieder I don't think English was the issue. My problem is that your comment implies that his question is too obvious (he is stupid? the website only takes expert questions?) and that he didn't do his homework. How do we know he didn't read an introductory book? Learning LaTeX can be daunting, and we don't remember everything we read. He thought the problem was with the quotchap package; he didn't even know it was with the use of \chapter. –  Vivi Dec 14 '12 at 2:47
show 7 more comments