Page Layout ⇒ Changing section number
Changing section number
i am writing my btp thesis. when i use \section{Introduction} for creating the section heading, the number starts from 0.1. i am using \documentclass{report}. when i use \documentclass{book}, even the titlepage goes towards the left. is there a way to change this. also is there a way to give separate numbering for the abstract,preface, and then to the main body.
thanks in advance,
regards,
sgp.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Changing section number
The classes »book« and »report« are based on chapters. So you better use chapters before sections. The changing type area is caused by the fact that the default setting for the »book« class is two-sided in opposite to the »report« class.sgp wrote:[...] when i use \section{Introduction} for creating the section heading, the number starts from 0.1. i am using \documentclass{report}. when i use \documentclass{book}, even the titlepage goes towards the left. is there a way to change this. [...]
Specify the kind of numbering (headings, page, ...).sgp wrote:[...] also is there a way to give separate numbering for the abstract,preface, and then to the main body. [...]
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Changing section number
thanks for the reply. but is there a way to change the book style only for the first title. the numbering i asked is for page numbers. is it possible to give separate number for main body and for abstract, table of contents and others.
thanks in advance,
regards,
sgp.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Changing section number
It's possible. It depends which packages you're using. With geometry you could change the margins inside the document as well as with typearea.sgp wrote:but is there a way to change the book style only for the first title. the numbering i asked is for page numbers.
The standard title is an inner title, typeset on a righ hand page, that might explain it to you. What you would like to produce seems to be a cover page.
A very easy way could be to use a separate document for the cover page with a oneside layout.
You could use \pagenumbering:sgp wrote: is it possible to give separate number for main body and for abstract, table of contents and others.
Code: Select all
\pagenumbering{roman}
\tableofcontents
... abstract ...
\cleardoublepage
\pagenumbering{arabic}
\chapter{One}
Stefan
Re: Changing section number
thanks for the reply guys it worked. learning latex would be tougher without you guys. thanks a lot guys.
regards,
sgp.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Changing section number
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10