0

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?

7
  • At least nobody can blame me here. Puh.
    – Johannes_B
    Commented Apr 30, 2017 at 11:18
  • 1
    Use oneside in the documentclass options.
    – Johannes_B
    Commented Apr 30, 2017 at 11:19
  • Quoting from the README: "oneside or twoside (default): This is especially useful for printing double side (twoside) or single side.
    – Johannes_B
    Commented Apr 30, 2017 at 11:20
  • This is for printing on both sides of a paper sheet. Left pages (even number) are on the left. openany would make chapters start on any page. oneside just provides right handed side pages, the default for most student reports (printing on just one side of each paper sheet).
    – Johannes_B
    Commented Apr 30, 2017 at 11:35
  • @Johannes_B the blank pages are still present, I guess it doesn't matter when I turn to printing the document? It will print on both sides of the page if i set it to twoside and i won't have any blank pages? For example when printing the title page will form the first side and the abstract will form the second side of the first sheet of paper.
    – simitar
    Commented Apr 30, 2017 at 14:02

1 Answer 1

1

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}
1
  • I forgot to mark up the inline code instances. Two reputation points are in for the first <2k user that properly edits the post.
    – Johannes_B
    Commented Apr 30, 2017 at 14:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .