TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to add a picture to my title page but the image appears on its own page. Can anyone help with this?

 \documentclass[a4paper,12pt]{scrartcl}

 \title{Report}
 \author{blah}
 \date{\today}
 \publishers{blah}
 \nocite{*}
 \addbibresource{bib.bib}
 \begin{document}

 \begin{titlepage}
 \includegraphics{images/image.png}
 \maketitle

 \end{titlepage}
 \end{document}
share|improve this question
up vote 12 down vote accepted

\maketitle creates a specific titlepage layout. You can't combine it with other elements. But you can use \titlehead to insert a graphic:

\documentclass[a4paper,12pt,titlepage]{scrartcl}
\usepackage{graphicx}
\titlehead{\centering\includegraphics[width=6cm]{tiger}}
\title{Report}
\author{blah}
\date{\today}
\publishers{blah}
\begin{document}  
\maketitle
\end{document}
share|improve this answer
    
Amazing, thank you! – Blackstone Mar 18 '13 at 17:00
2  
I have titlehead as an undefined control sequence, is it specific to scartcl or am I missing something? – Stormie Aug 25 '15 at 14:39

You may also use the titling package. With it you can access the \title \author and \date variables in the title page. This worked fine for me:

\documentclass[a4paper,oneside,11pt]{book}
\usepackage{graphicx}
\usepackage{titling}
\title{The Lord of the Rings}
\author{John Tolkien}
\date{\today}
\begin{document}
\begin{titlingpage} %This starts the title page
\begin{center}
\includegraphics[height=2cm]{example-image}\\ %Put the logo you want here
\begin{large}
My University \\ %The name your university
My Department\\
\end{large}
\vspace{4cm} %You can control the vertical distance
\begin{large} 
\textbf{\thetitle} \\
\end{large}
\theauthor\\
\vspace{7cm} %Put the distance you need.
\thedate
\end{center}
\end{titlingpage}
\end{document}

*I edited the Large environment I put.

share|improve this answer
3  
Welcome to TeX.SX! Note that while they work, there are actually no fontsize environments like \begin{Large}..\end{Large} implemented (as environments), see Do fontsize environments exist? – Torbjørn T. May 29 at 20:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.