[Tugindia] How to ...Books ??

Radhakrishnan CV tugindia@tug.org
25 Jan 2003 05:03:33 +0530


>>>>> "Rai" == H S Rai <hsraidce@iitr.ernet.in> writes:

    Rai> Kevin wrote:

    Kevin> I tried using the \documentclass{book} for the first time
    Kevin> and since I am not very proficient in the area I am looking
    Kevin> for some suggestions on how to get Section Numbers
    Kevin> developing in the 1,2,3,..counter order rather than 0.1,
    Kevin> 0.2, 0.3,...and so on

    Rai> In book, there will be a number of chapters. You need to
    Rai> define chaper heading by \chapter{My chapter}, then in that
    Rai> you get sections like 1.1, 1.2 inplace of 0.1, 0.2, if "My
    Rai> chapter" is your first chapter. Do you want it 1, 2 etc.,
    Rai> then IMO it will not be a book style.

\renewcommand\thesection{\arabic{section}}

will get rid of the chapter number from the section numbers. The
default numbering scheme in book class is \thechapter.\arabic{section}
which means in the absence of a chapter, the section numbering will be
0.1, 0.2, ...

-- 
Radhakrishnan