TransWikia.com

`usepackage{emptypage}` for odd pages

TeX - LaTeX Asked by Syiham Razak on March 29, 2021

I want to ask, is it possible that if I want to use the usepackage{emptypage} but to make sure that every chapter starts at the odd pages? If yes, what should I add within my preamble/document? Since as I know that the package is formated to start the new chapters at the even pages. Thank you.

One Answer

We have no idea about the template (class? package?) provided by your institute. Do you have to use it?

In the book class by default chapters start on recto (odd-numbered) pages while in the report class they start on the next page. These can be altered by using class options openright (default for book) or openany (default for report). Perhaps you could use the openright option if your template allows it.

Based on @leandriis comment here is a book class MWE that meets your requirements for keeping constant placement of the text block.

% emptypageprob.tex  SE 590216
documentclass[twoside]{book}
usepackage{emptypage}
usepackage{lipsum}

% make the margins equal (could use the geometry package instead)
addtolength{oddsidemargin}{evensidemargin}
setlength{oddsidemargin}{0.5oddsidemargin}
setlength{evensidemargin}{oddsidemargin}

begin{document}
chapter{First}
lipsum
chapter{Second}
lipsum[1]
chapter{Third}
lipsum[1]
chapter{Fourth}
lipsum
end{document}

Answered by Peter Wilson on March 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP