[Tex/LaTex] Titlepage with logo centered at the top

graphicstitles

I'm having a problem creating a titlepage for my thesis. I started with a simple code:

documentclass[12pt,a4paper]{report} 
\usepackage{amsmath}
\usepackage{parskip}
\usepackage{graphicx}
\usepackage{braket}

\usepackage{booktabs,dcolumn} 
\usepackage{caption}
\usepackage{subcaption}
\usepackage{url}
\linespread{1.5}
\begin{document}
\begin{titlepage}
\begin{center}
\includegraphics[width=\textwidth]{logo.pdf}
{\huge \bfseries Title of the thesis}\\[1.5cm]
\textsc{\LARGE Ruhr-Universit\"at Bochum}\\[1.5cm]
\textsc{\large Department of Atomistic Modelling and Simulation, ICAMS}\\[1.5cm]
\textsc{\Large{Project Work}}\\[2.0cm]
Vorname \textsc{Name}\\[0.3cm]
-----------\\[1.5cm]
\emph{Lecturer:} \\
Dr.~Thomas \textsc{Hammerschmidt}\\

\vfill

% Bottom of the page
{\large May 2014}

\end{center}

\end{titlepage}
\end{document}

The thing is, when I try to increase the size of the logo, it would move to the right. Also, there is a large empty space above it. I need it centered at the top of the page. The first image is what I'm getting, the second one is what I need.

This is what I'm getting

This is what I should be getting

Best Answer

You can do the following:

  1. About the blank space above the logo, add some negative spacing before \includegraphics, e.g.

    \vspace*{-6\baselineskip}
    

    and some positive spacing after it, e.g.

    \vspace*{4\baselineskip}
    
  2. About the image looking shifted to the right, add some horizontal negative spacing before \includegraphics, e.g.

    \hspace*{-0.1\textwidth}
    

MWE:

\documentclass[12pt,a4paper]{report}
\usepackage{amsmath}
\usepackage{parskip}
\usepackage[demo]{graphicx}
\usepackage{braket}

\usepackage{booktabs,dcolumn}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{url}
\linespread{1.5}
\begin{document}
\begin{titlepage}
\centering
\vspace*{-6\baselineskip}
\hspace*{-0.1\textwidth}\includegraphics[width=1.2\textwidth]{logo.pdf}
\par\vspace*{4\baselineskip}
{\huge \bfseries Title of the thesis}\\[1.5cm]
\textsc{\LARGE Ruhr-Universit\"at Bochum}\\[1.5cm]
\textsc{\large Department of Atomistic Modelling and Simulation, ICAMS}\\[1.5cm]
\textsc{\Large{Project Work}}\\[2.0cm]
Vorname \textsc{Name}\\[0.3cm]
108008112625\\[1.5cm]
\emph{Lecturer:} \\
Dr.~Thomas \textsc{Hammerschmidt}\\

\vfill

% Bottom of the page
{\large May 2014}
\end{titlepage}
\end{document} 

Output:

enter image description here