8

I am trying to insert a blank page between the title page and the table of contents in my RMarkdown document, pdf output. I followed the suggestion described here. My issue is that the blank page does not appear. Here is my code:

\pagenumbering{gobble} 

\centering
\centerline{\includegraphics[height=2in]{glasgowuni.png}}

\large{UNIVERSITY OF GLASGOW}

\normalsize{COLLEGE OF SCIENCE AND ENGINEERING}

\normalsize{SCHOOL OF MATHEMATICS AND STATISTICS}\linebreak

\raggedright

\clearpage

\pagenumbering{arabic} 

\tableofcontents

\newpage

Can anyone spot why the blank page does not appear?

Community
  • 1
  • 1
Kivis
  • 924
  • 2
  • 10
  • 20

2 Answers2

9

Try adding an invisible character and \pagebreak before the TOC:

 

\pagebreak

This did the trick for me. Good luck with the thesis!

Keith Hughitt
  • 4,860
  • 5
  • 49
  • 54
4

I had to do it a little different (Using bookdown):

  1. In the YAML header, set toc: no. Otherwise, we end up with two tocs.
  2. Directly after the YAML header I needed to add the following code.

\newpage
\thispagestyle{empty}
\mbox{}

\tableofcontents

\newpage
\thispagestyle{empty}
\mbox{}
symbolrush
  • 7,123
  • 1
  • 39
  • 67
  • In case someone needs to keep the page numbers `\thispagestyle{plain}` will do the trick. See [here](https://tex.stackexchange.com/questions/194423/page-style-plain-vs-empty) for more options. – canovasjm Mar 19 '21 at 04:15