Hi,
I'm writing my Ph.D. dissertation. I wish to start my chapter number from 0 instead of 1. I can manually use
\chapter*{0 Chapter name}
But that doesn't work smart, specially when I may frequently add or remove chapters.
Also I don't get equation or figure number as fraction of chapter number, e.g. if it is 4th equation of chapter 0, it should show the equation number as (0.4), similarly 2nd figure of 3rd chapter will have the label Figure 3.2 .
Thanks.
Text Formatting ⇒ Set chapter number starting from 0
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
Set chapter number starting from 0
Hi,
you could set the chapter counter to -1, so the following chapter would get the number 0:
Stefan
you could set the chapter counter to -1, so the following chapter would get the number 0:
Code: Select all
\setcounter{chapter}{-1}\chapter{Chapter name}
LaTeX.org admin
Re: Set chapter number starting from 0
Thanks Stefan_K. It's working fine with all chapters. However, for the first chapter (Chapter 0 in my convention), I wish to have displays for figures and equations like 0.1, 0.2, so on. But I am only getting numbers like 1, 2, so on.
By the way, why didn't I receive any notification after the reply?
By the way, why didn't I receive any notification after the reply?
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Set chapter number starting from 0
To increase your chance for help you should give some useful information. This is best done by building a complete but minimal example that shows what you want to do and what is not working.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10