TransWikia.com

Preventing `mainmatter` from inserting a blank page

TeX - LaTeX Asked on September 3, 2021

mainmatter seems to sometimes force a blank page if the current contents (the place where mainmatter is called) are on an odd numbered page. openany and oneside do not seem to work here. They only work when opening a new chapter, but not when the main matter starts.

I want to disable inserting of blank pages altogether even at the beginning of the main matter.

documentclass[11pt, openany, oneside]{book}

    usepackage[a4paper]{geometry}
% BEGIN_FOLD

    geometry{twoside=false, showframe=false,inner=1.05in,outer=1.05in,includemp=true,asymmetric=true,bindingoffset=0mm,marginparsep=0mm, marginparwidth=0mm}
    geometry{bottom=0.9in,vmarginratio=3:5,includehead=true, includefoot=true,headheight=8pt, headsep=14pt,footskip=10.9mm}

% END_FOLD

    usepackage{blindtext}

begin{document}

blindtext

tableofcontents
clearpage
blindtext

mainmatter
Blinddocument

end{document}

One Answer

With a temporarily altered definition of cleardoublepage:

documentclass[11pt, openany, oneside]{book}

    usepackage[a4paper]{geometry}
% BEGIN_FOLD

    geometry{twoside=false, showframe=false,inner=1.05in,outer=1.05in,includemp=true,asymmetric=true,bindingoffset=0mm,marginparsep=0mm, marginparwidth=0mm}
    geometry{bottom=0.9in,vmarginratio=3:5,includehead=true, includefoot=true,headheight=8pt, headsep=14pt,footskip=10.9mm}

% END_FOLD

    usepackage{blindtext}

begin{document}

blindtext

tableofcontents
clearpage
blindtext

{
renewcommand{cleardoublepage}{newpage}
mainmatter
}
Blinddocument

end{document}

Answered by user191948 on September 3, 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