### LaTeX users online

In total there are 8 users online :: 1 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Bing [Bot] and 7 guests

### LaTeX Friends

Sponsored by DANTE e.V.: The German speaking TeX Users Group

## Starting the section numbering with 0

### LaTeX Forum: Text Formatting

Add tags Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
ive written my essay and put it into sections and all that. i have a first section of preliminary definitions that i would like to call section 0, but my section numbering starts at 1. any idea how i can do this?
thanks
jonnyneill14

Posts: 4
Joined: Mon Feb 22nd, 2010

I see two possible solutions. You can either set the section counter to make your section start from Zero.
Code: Select all  •  Open in online LaTeX editor
\setcounter{section}{-1}

Add this line right before the section that contains your preliminaries. On the other hand you could put your preliminaries into an unnumbered section.
Code: Select all  •  Open in online LaTeX editor
\section*{Preliminaries}
}

This would cause the following sections to be numbered from One and place an entry in the ToC.

This solution is for the standrard classes. Other classes like those from KOMA Script or memoir have built-in features.

Best regards and welcome to the board
Thorsten¹
LaTeX Community Moderator

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

localghost
Site Moderator

Posts: 9218
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany