Page Layout ⇒ LaTeX automatically increases indentation on pg2 of chapter
LaTeX automatically increases indentation on pg2 of chapter
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
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
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
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
LaTeX automatically increases indentation on pg2 of chapter
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}
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