I am trying to remove the blank pages between the various sections of the document, but I don't know which command I can use. I already tried to remove the command: \afterpage{\blankpage} but the blank pages still appear. How can I do this?

% Omitting Page Numbers

% Packages
\usepackage{afterpage}  % blank pages
\usepackage{multirow}  % table
\usepackage[table, dvipsnames]{xcolor}  % table
\usepackage{xpatch}  % table
\usepackage{tabu}  % table
\usepackage{hhline}  % cell color does not overlap cell line
\usepackage{fancyhdr}  % headers
\usepackage{breakcites}  % references do not go though margins
\usepackage{sectsty}  % change chapter title size
\setcounter{tocdepth}{3}  % four level contents
\setcounter{secnumdepth}{3}  % numbered four level contents
\usepackage{amsfonts}  % math
\usepackage{amsmath}  % math
\usepackage[pagebackref]{hyperref}  % references

\newcommand{\rectangle}{{  % rectangle

\newcommand\BibTeX{B{\sc ib}\TeX}

% References

% Blank Page

% Hide Blank Pages Numbers + Headers

% Space between numbers and text



\newgeometry{left=3cm, right=3cm, top=1cm, bottom=1.2cm}




% Preamble for Thesis
\setmainfont{Times New Roman}
\let\cleardoublepage\clearemptydoublepage  % hide blank pages numbers + headers









% After Introductory Pages

\chaptertitlefont{\Huge} % to fit chapter title to one line






\pagestyle{plain}  % no more header 



  • 1
    Try adding openany to the \documentclass options. The default is openright.
    – Bernard
    May 7, 2020 at 14:57
  • 6
    One way to remove ALL the blank pages is to use the [oneside] option for book. Another is use \let\cleardoublepage=\clearpage. \blankpage is just a bad idea. May 7, 2020 at 15:18
  • 2
    \blankpage forces a blank page May 7, 2020 at 15:36
  • 5
    if you are setting the thesis on two sides of the paper like a book then iit will be very strange if you do not ensure that you always have odd page numbers on the right and even on the left, your \blankpage breaks that. It is also most common (but not universal) for chapters to always start on the right hand page hence the blank page, but if you want to allow chapters on the left there is no need for all your redefinitions just use [openamy] or if you do not want to distinguish left and right ages at all, use [oneside] May 8, 2020 at 1:29
  • 1
    @CarmenGonzález David has explained it. Do not leave the chapter titles "hidden" in the left-hand side ("verso" page). Think that when you open a book, the first thing you see is the right-hand side ("recto" page). Is it mandatory? In general, no, but in particular, there are universities that consider this a [basic design] (libguides.lib.msu.edu/c.php?g=97090&p=908734), others don't give a damn, and some even ask to avoid blank pages. First, look at the rules of your University. If there's nothing about, ask yourself: Will the thesis court read it printed or in the PDF?
    – Fran
    May 8, 2020 at 9:52

1 Answer 1


Just simply add: \let\cleardoublepage=\clearpage to get rid of any blankpages anywhere after packages

  • I was skeptical of this solution but it works like a charm!
    – deps_stats
    Jul 11, 2023 at 1:56
  • Seems to have no effect whatsoever in my document.
    – Jake
    Oct 26, 2023 at 11:42

You must log in to answer this question.

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