Graphics, Figures & TablesIncluding diagrams on the title page

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
tc105
Posts: 6
Joined: Tue Mar 31, 2009 10:48 pm

Including diagrams on the title page

Post by tc105 »

Is there a simple way of adding a picture to the title page? It always moves to the second page.
Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Including diagrams on the title page

Post by Stefan Kottwitz »

Hi,

just use \includegraphics within the titlepage environment or in a titlepage command. Don't use a figure environment.

Stefan
LaTeX.org admin
tc105
Posts: 6
Joined: Tue Mar 31, 2009 10:48 pm

Re: Including diagrams on the title page

Post by tc105 »

I've tried that but even when I put it within \begin{titlepage}...\end{titlepage} it still goes to the next page.
Also the \includegraphics command is still in italics as though it is not recognised.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Including diagrams on the title page

Post by localghost »

Build a minimal working example (MWE) that clearly shows the effect you described.


Best regards
Thorsten¹
tc105
Posts: 6
Joined: Tue Mar 31, 2009 10:48 pm

Including diagrams on the title page

Post by tc105 »

Code: Select all

\documentclass[a4paper,12pt]{report}

\usepackage{graphicx}

\begin{document}
\begin{titlepage}

\title{Title}
\author{Author}
\maketitle
\includegraphics[width=120mm]{SP_A0821.jpg}

\end{titlepage}
\end{document}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Including diagrams on the title page

Post by Stefan Kottwitz »

Hi,

don't mix \maketitle and the titlepage environment. Here's an example:

Code: Select all

\documentclass[a4paper,12pt]{report}
\usepackage{graphicx}
\begin{document}
\begin{titlepage}
  \vspace*{60pt}
  \begin{center}%
    {\LARGE Title \par}%
    \vspace{3em}%
    {\large Author \par}
    \vspace{1.5em}%
    {\large Date \par}%
    \vfil
    \includegraphics[width=120mm]{SP_A0821.jpg}
    \vfil
  \end{center}
\end{titlepage}
\end{document}
Stefan
LaTeX.org admin
Post Reply