Page LayoutLaTeX automatically increases indentation on pg2 of chapter

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
meviyax
Posts: 1
Joined: Tue Oct 09, 2012 6:58 am

LaTeX automatically increases indentation on pg2 of chapter

Post by meviyax »

While using Book class, I am facing the following problem:
For the second page of any chapter or table of contents, latex automatically increases the indentation. however the indentation becomes normal once again for the third page!
so the left side margin appears to keep shifting every page.
see pages 9-10, 13-15, 33-34, 37-38 of the output file for further explanation.
Please suggest a solution.

Also LaTeX inserts a blank page after the end of every chapter...is there any way to avoid that?
Attachments
tentative3.dvi
output
(35.37 KiB) Downloaded 326 times
tentative3.tex
source code
(12.72 KiB) Downloaded 329 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

LaTeX automatically increases indentation on pg2 of chapter

Post by localghost »

There is nothing wrong. You are just irritated by the (typographically correct) type area. Usually the outer margins of a (two-sided) document are equally wide as the two inner margins. The book class sets the twoside option by default and therefore a corresponding type area. If you want to alter the page dimensions, use a package like geometry.

Finally you could choose another class like those from KOMA-Script or the memoir class. These classes have built-in mechanisms for the construction of a reasonable type area.


Best regards and welcome to the board
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

LaTeX automatically increases indentation on pg2 of chapter

Post by Stefan Kottwitz »

Hi,

welcome to the board!

Documents produced with the book class are two-sided by default. Two-sided documents usually have an inner margin and an outer margin, the latter is often wider. And chapters usually start at right hand pages, i.e. odd-numbered pages. That's why a blank page is inserted when necessary to let the next chapter start on a right-hand page.

You could change this behavior by document class options:

Code: Select all

\documentclass[oneside,openany]{book}
If you plan to print two-sided, perhaps think again if you would prefer the book class defaults like I explained above. For one-sided documents, with symmetric margins and chapters starting at the next possible page, the report class may be a better choice. I would even prefer scrreprt, as this is one of the KOMA-Script classes, which are very advanced and highly customizable.

Stefan
LaTeX.org admin
Post Reply