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.
Best Answer
You can do the following:
About the blank space above the logo, add some negative spacing before
\includegraphics
, e.g.and some positive spacing after it, e.g.
About the image looking shifted to the right, add some horizontal negative spacing before
\includegraphics
, e.g.MWE:
Output: