[Tex/LaTex] How to modify this template to remove the blank pages and have the abstract on the title page

templates

I'm using the following template: https://github.com/kks32/phd-thesis-template/releases/tag/v2.3.1

when I compile and run through Texstudio the pdf goes as

                    Title page (1)  
Blank page (2)        Abstract (3)  
Blank page (4)      Dedication (5)  
Blank page (6)  Acknowlegements(7)  
Blank page (8)

How can i remove these blank pages and just have double page text?

Best Answer

At the moment declaration, acknowledgements, abstract etc are typeset using an unnumbered chapter (with font commands in it, i am not very fond of that). Before \chapter* is issued, all those defined environment carry out a \cleardoulepage. That clashes with the openany option of the book class.

This might be a design decision made by the Cambridge thesis office.

You can workaround the behaviour. Please note, the main matter has to start on a right hand page. You cannot prevent a blank page there.

\documentclass[twoside,openany]{Classes/PhDThesisPSnPDF}
\let\prepareforpagenumberchange\cleardoublepage
\let\cleardoublepage\relax
\input{thesis-info}

\geometry{outer=4cm,showframe}
\begin{document}

\frontmatter
\maketitle
\include{Abstract/abstract}
\listoftables
\prepareforpagenumberchange
\mainmatter

\chapter{Wombat}
Needs to be on a right hand page, so is depending on a working
cleardoublepage
\end{document}
Related Question