# Logo and picture on titlepage

I need to make a title page with a logo on the top left corner, the title and the author centered and another picture under this. I tried this code but the problem is that the second image is right under the logo and the title and the author are on another page.

%%!TEX encoding = UTF-8 Unicode

\documentclass[a4paper,12pt]{article}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xspace}
\usepackage{epstopdf}
\usepackage[frenchb]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\geometry{dvips,a4paper,margin=1.5in}
\DeclareGraphicsRule{.tif}{png}{.png}{convert #1 dirname #1/basename #1 .tif.png}

\begin{document}

\begin{titlepage}

\includegraphics[width = 40mm]{logo.jpg}

\begin{center}

\title{Report}
\author{Author}
\date{Septembre 2013}

\includegraphics[width = 40mm]{image.png}

\end{center}

\end{titlepage}

\maketitle

\newpage

\tableofcontents

\newpage

\vspace{2.5cm}

\section{Abstract}

\newpage

\section{Introduction}

\end{document}

• \maketitle has a predefined layout. To change it you should edit that command. In your case, is better to type the title page as you want. Instead of using \title{} format it using \textbf{}, large or something else. Also, you can use \vspace{??cm} to insert vertical space. Jul 26 '13 at 13:51
• My images have the same width and height, about 200x200 px Jul 26 '13 at 14:05

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}

• Why doesn't with work with amsbook instead of article ? (It gives an There's no line here to end error at the \maketitle line.) Nov 3 '19 at 14:16

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}


Another elegant solution would be to use the PGF/TikZ package and place the TikZ command after the standard \maketitle call, e.g.

\tikz [remember picture, overlay] %
\node [shift={(1cm,-1cm)}] at (current page.north west) %
[anchor=north west] %
{\includegraphics{logo}};


Option current page.north west ensures the logo will be at the top left corner of the title page and the shift option [shift={(1cm,-1cm)}] allows to control the offsets from the top left.

• I tried it with report document, however, the logo is placed in the second page, not the title page. Dec 7 '20 at 19:20
• Try to reset the title page formatting by placing \thispagestyle{empty}` command right after the TikZ commands for logo. Dec 9 '20 at 11:55