You cannot have a float, e.g a
figure environment, within a
minipage. But you don't need it on a titlepage. You do not have a caption, and the image doesn't have to float. If you just remove the
figure environment,
\centering commands and
\labels it will work fine. Just remember to add a linebreak after
\today.
Code: Select all
\documentclass{report}
\usepackage[demo]{graphicx}
\newcommand{\HRule}{\rule{\textwidth}{0.5mm}}
\begin{document}
\newlength{\centeroffset}
\setlength{\centeroffset}{-0.5\oddsidemargin}
\addtolength{\centeroffset}{0.5\evensidemargin}
\thispagestyle{empty}
%\vspace*{\stretch{1}}
\noindent\hspace*{\centeroffset}\begin{minipage}{\textwidth}
\begin{center}
\Large Master's Thesis
\vspace*{\stretch{1}} \HRule\\[1cm]\Huge\bfseries
Title
\\[0.5cm]
\HRule\\[0.5cm]
\large name, number\\[0.8cm]
\includegraphics[width=\textwidth]{figurer/16bib.pdf}
\vspace*{\stretch{2}} \normalsize %
\today \\
\includegraphics{figurer/logo.JPG}
\end{center}
\end{minipage}
\end{document}
As I don't have the images, I added the
demo option to the
graphicx package, which replaces the images with black rectangles.