Logo and picture on titlepage
The problem is that \author
, \title
and \date
are only definitions, not commands to print this information. These commands in titlepage
without \maketitle
do nothing. So all is printed when you said \maketitle
, that is, after the title page.
Usually you choose between using only \maketitle
at the beginning of the document, that print \author
, \title
and \date
at the top of the article (defined before, preferably in the preamble) with a default format, or a titlepage
environment to have a title page, where you simply insert what you want with the format that you want.
But in order to clean the document
environment, you can also redefine \maketitle
so this command followed by a \newpage
(or inside titlepage
) make all the work:
\documentclass[a4paper12pt]{article}
\usepackage{geometry}
\usepackage[demo]{graphicx}
\title{Report}
\author{Author}
\date{Septembre 2013}
% Definition of \maketitle
\makeatletter
\def\@maketitle{
\raggedright
\includegraphics[width = 40mm]{logo.jpg}\\[8ex]
\begin{center}
{\Huge \bfseries \sffamily \@title }\\[4ex]
{\Large \@author}\\[4ex]
\@date\\[8ex]
\includegraphics[width = 40mm]{image.png}
\end{center}}
\makeatother
\begin{document}
\maketitle
% \thispagestyle{empty}
\newpage
\tableofcontents
\newpage
\vspace{2.5cm}
\section{Abstract}
\newpage
\section{Introduction}
\end{document}
Fran's solution works, but I prefer the following variant, because it essentially allows you to prepend the title page before the original document, which is sometimes useful.
\documentclass{article}
\usepackage{graphicx}
\title{My Title}
\author{My name}
\date{November 2, 2015}
\begin{document}
\makeatletter
\begin{titlepage}
\begin{center}
\includegraphics[width=0.7\linewidth]{logo.png}\\[4ex]
{\huge \bfseries \@title }\\[2ex]
{\LARGE \@author}\\[50ex]
{\large \@date}
\end{center}
\end{titlepage}
\makeatother
\thispagestyle{empty}
\newpage
%Add content for page two here (useful for two-sided printing)
\thispagestyle{empty}
\newpage
\maketitle
\setcounter{page}{1} %Start the actually document on page 1
\begin{abstract}
...
\end{abstract}
\section{Introduction}
...
\end{document}