TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Newbie here. I get a blank,numbered page after running the following \maketitle command in my document.

Is this part of the report class that I am using? How can i remove the blank page?

\let\footnotesize\small \let\footnoterule\relax \setcounter{page}{0}
\title{Final Year Project Interim Report\\[0.5cm]\rule{4cm}{1pt}\\[0.7cm]
\author{\LARGE \studentname}\\[0.5cm]\rule{4cm}{1pt}\\[0.5cm]
\textsf{\Large  Blah[0.5cm]
\textsf{\Large  \textbf{Supervisor:}  \supervisorname}\\[0.5cm]
\textsf{\Large  \textbf{Mentor:}  \moderatorname}\\[1.8cm]
\textsf{\Large Blah\vfill
\normalsize \today}

It occurs to me that I might not have provided enough information. If so let me know.

edit: the (as minimal as i could) working example:

tex file:




\tableofcontents\pdfbookmark[0]{Table of Contents}{toc}\newpage




cls file:

\LoadClass[11pt, titlepage]{report}

\renewcommand{\contentsname}{Table of Contents}

\fancyfoot[CO]{\small\textsf{Page \thepage~of~\pageref{endpage}}}

      \def\@oddfoot{\normalfont\hfil\small\textsf{Page \thepage~of~\pageref{endpage}}\hfil}%
      \def\@evenfoot{\normalfont\hfil\small\textsf{Page \thepage~of~\pageref{endpage}}\hfil}}


{section}%                    % the name
{1}%                          % the level
{0mm}%                        % the indent
{10.6mm}%             % the beforeskip
{4.2mm}%           % the afterskip
{\LARGE\bfseries\sffamily}}  % the style

{subsection}%                    % the name
{2}%                          % the level
{0mm}%                        % the indent
{6.4mm}%             % the beforeskip
{1.1mm}%           % the afterskip
{\Large\bfseries\sffamily}}  % the style

{subsubsection}%                    % the name
{3}%                          % the level
{0mm}%                        % the indent
{4.2mm}%             % the beforeskip
{1.1mm}%           % the afterskip
{\normalsize\bfseries\sffamily}}  % the style

%  %\thispagestyle{empty}
%  \pagestyle{fancy}
%  \doublespacing
%  \global\@topnum\z@
%  \@afterindentfalse
%  \secdef\@chapter\@schapter


%% Chapter headings should be centered, uppercase, and at the top of the page.
  { \parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
        \huge\textsf{\@chapapp\space \thechapter:}
        % \par\nobreak
        %\vskip 20\p@
    \huge \bfseries \textsf{#1}\par\nobreak
    \vskip 20\p@
  } }

  { \parindent \z@ \raggedright
    \huge \bfseries  \textsf{#1}\par\nobreak
    \vskip 20\p@




    \let\footnotesize\small \let\footnoterule\relax \setcounter{page}{0}
    \author{\LARGE \studentname}\\[0.5cm]\rule{4cm}{1pt}\\[0.5cm]
    \textsf{\Large blah[0.5cm]}
    \textsf{\Large  \textbf{Supervisor:}  \supervisorname}\\[0.5cm]
    \textsf{\Large  \textbf{Mentor:}  \moderatorname}\\[1.8cm]
    \textsf{\Large blah\\\vfill
    \normalsize \today}

share|improve this question
Hi Mark, welcome to tex.sx. It is always good to post a complete minimal example that illustrates your problem. This way people can compile it and have a closer look. – Martin Scharrer Mar 6 '11 at 23:10
@Mark: Welcome to TeX.SX! There are many syntax problems in your code. Please check the braces: each opening brace must be followed by a closing brace later. Have a look at Preventing page break after title page for a working example of a title page, similar to yours, and a possible solution. – Stefan Kottwitz Mar 6 '11 at 23:11
\textsf{\Large blah[0.5cm] is missing a closing brace, is my guess. I suspect you may be the victim of university style guides and gemerally working (but old) LaTeX code that does most of what's required. Assuming there's not a quick solution to the maketitle problem, can we get a link to the university's style guide? It may be easy enough to just recreate a style with memoir or some other class and set of packages to remove some of the older code. – Mike Renfro Mar 7 '11 at 0:43
I guess while trying to anonymize the style file, you deleted }\\ at the position @Mike indicated. If I add that, then the file compiles and there aren't any blank pages. – Caramdir Mar 7 '11 at 2:50
In addition to everything else mentioned, it's utterly wrong to include \makeatletter\makeatother in a class file. – Harald Hanche-Olsen Mar 7 '11 at 10:45

The comments show that the problem was solved, though it appears not to be known exactly what solved it. Here is an “answer” to save the question from counting as unsolved in the future. It's community wiki, so anybody can add to it if they have anything useful to say.

share|improve this answer
up vote 1 down vote accepted

I figured out what the problem was ( and as it turns out, it was an issue with the .cls file)

Unfortunately the example I created didn't replicate the problem, (although I swear it did when I checked it before posting!). I really made a dogs dinner of anonymizing / simplifying my example!

The problem was caused when the combination of projecttitle, supervisorname and moderatorname were too long for what was intended for the template (even though they were not especially long!)

I think this must have pushed on to another page. I have solved the problem my removing a \null spacer. This is a little ugly as it makes the date too close to the school name directly above it.

I am gonna use that solution for now, if anyone has a more elegant solution (is it possible to prevent moving onto a new page? the page that does get added is blank, so theres hardly any point to it!). I will mark this as the answer for now, but if someone has a more elegant solution, I'll mark that as the answer.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.