hi all,
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.
Page Layout ⇒ Changing section number
Changing section number
Last edited by sgp on Sat Jul 31, 2010 1:02 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- 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
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
Re: Changing section number
hi Thorsten,
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.
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: 10345
- 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
Code, edit and compile here:
\pagenumbering{roman}\tableofcontents... abstract ...\cleardoublepage\pagenumbering{arabic}\chapter{One}
Stefan
LaTeX.org admin
Re: Changing section number
@ above all
thanks for the reply guys it worked. learning latex would be tougher without you guys. thanks a lot guys.
regards,
sgp.
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
Just for notification. The »book« class offers \frontmatter, \mainmatter and \backmatter as commands which also affect the page numbering. Details can be read in every good basic documentation.
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