0

I'm using the report class to write a lab report(go figure). In the template used, for some reason I am getting an extra blank page before the title page. What follows is the structure used for the title page.

\begin{document}
\frontmatter


\title{ \normalsize \textsc{} \\ \textsc{} \\ \textsc{} \\ \textsc{} \normalsize
    \\ [2.0cm]
    \HRule{0.5pt} \\
    \LARGE \textbf{\uppercase{Impact Lab}}
    \HRule{2pt} \\ [0.5cm]
    \normalsize \vspace*{5\baselineskip}}

\author{ \textbf{}\\
     \\ 
     \\
     \\}


\maketitle

My import statements are:

\documentclass[12pt]{report}
\usepackage[a4paper]{geometry}
\usepackage[myheadings]{fullpage}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{graphicx, wrapfig, subcaption, setspace, booktabs}
\usepackage[T1]{fontenc}
\usepackage[font=small, labelfont=bf]{caption}
\usepackage{fourier}
\usepackage[protrusion=true, expansion=true]{microtype}

\usepackage[english]{babel}
\usepackage{sectsty}
\usepackage{url, lipsum}
\usepackage{float}
\usepackage{textcomp}

Any ideas why I'm getting the empty page at the beginning? (Also all text has been removed, that's why the empty braces)

  • 1
    Call \frontmatter after \maketitle if that doesn't help additionally \title and \author in the preamble. – Skillmon Nov 21 '17 at 19:20
  • Welcome to TeX.SX! – Bobyandbob Nov 21 '17 at 19:21
  • 1
    Also note that you are misusing the \title and the \author macro, imho. If the resulting titlepage isn't to your liking, you can build your own using \begin{titlepage}...\end{titlepage}. – Skillmon Nov 21 '17 at 19:23
  • @Skillmon Thank you! Doing that and doing some copy pasta I got my desired result. – pingOfDoom Nov 22 '17 at 15:30
1

Since the question's code snippets are far from compilable, the following are just some side notes (in which I combine my comments into an answer).

You should call \title and \author in the preamble. If that doesn't fix the issue additionally put \frontmatter after \maketitle.

Note however that the macros \title and \author are just to store the name of the author and the title. They are not meant to contain formatting switches. If you're not satisfied with the resulting title page, you should use the titlepage-environment to typeset your own title page. Note that you shouldn't include the command \maketitle in that environment.

  • +1 another questioin off the unanswered list. Do you mean side note? – Johannes_B Dec 3 '17 at 13:42
  • @Johannes_B Whoops. Thx for spotting the typo :) – Skillmon Dec 3 '17 at 13:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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