[OS X TeX] Section 0 in book class

Alain Schremmer schremmer.alain at gmail.com
Sun Mar 8 23:56:29 EDT 2009


On Mar 8, 2009, at 9:49 PM, Michael Sharpe wrote:

>
> On Mar 8, 2009, at 10:43 AM, Alain Schremmer wrote:
>
>> I am writing Chapter 13 in one of these multi-authors books and I  
>> wanted the first section to be
>>
>> 	13.0 Introduction
>>
> Perhaps you have some other settings that interfere with setting  
> the section number. The following seems to produce what you want.
>
> \documentclass]{book}
> \begin{document}
> \setcounter{chapter}{12}
> \chapter{}
> \setcounter{section}{-1}
> \section{Zeroth section}
> \end{document}

You are absolutely right: Placing \addtocounter{section}{-1} after  
\chapter does it.

I guess this has to do with the fact that the section number includes  
the chapter number so I should have thought of it.

Still …

Well, my curiosity has been satisfied.

Grateful regards
--schremmer


More information about the MacOSX-TeX mailing list