Take the 2-minute tour ×
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.

I have a problem inserting an picture at the beginning. Once I compiled, I have the picture on each page but I want to have the picture just on the first page.

Here is my code:

 \documentclass{beamer}
 \let\Tiny=\tiny
 \usepackage[T1]{fontenc}
 \usepackage[utf8]{inputenc}
 \usepackage[frenchb]{babel}
 \usepackage{type1cm}

 \usetheme{CambridgeUS} % theme

\title[automata]{ automata}
 \subtitle{Lucian Ilie} 
\author{Author}
\institute{Institute} 

\date{26 Mars 2012 \\ 

\includegraphics[width=1cm]{./image/logo_ur.jpg}

}
share|improve this question
    
You have to use it inside a frame environment. Like this: \begin{frame}\includegraphics{...}\end{frame} \begin{frame}my second slide\end{frame}. –  Thorsten Mar 20 '12 at 10:39
    
Closely related: Adding custom image in title slide –  diabonas Apr 10 '12 at 19:38

2 Answers 2

up vote 5 down vote accepted

You include your image in the \date variable. Beamer publishes the date on every slide (at least in most themes). That's why the logo is shown on each slide.

You will need to include the \includegraphics[width=1cm]{./image/logo_ur.jpg} in the first frame (titleframe)

Furhermore Beamer also provides a macro called \logo{}. You can use this command \logo{\includegraphics[width=1cm]{./image/logo_ur.jpg}} to draw the logo on each (!) page. I know your question wants to avoid this. Logo however places the logo on a location that should be elegant given the theme.

share|improve this answer

The \date macro is obviously not the right place for a logo. There are two commands designed for drawing one instead:

Full example code for \titlegraphic:

\documentclass{beamer}
\let\Tiny=\tiny
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[frenchb]{babel}
\usepackage{type1cm}

\usetheme{CambridgeUS} % theme

\title[automata]{ automata}
\subtitle{Lucian Ilie} 
\author{Author}
\institute{Institute} 
\date{26 Mars 2012}
\titlegraphic{\includegraphics[width=1cm]{./image/logo_ur.jpg}}

\begin{document}
\maketitle
\begin{frame}
   Content
\end{frame}
\end{document}

title page with logo inserted wby \titlegraphic

share|improve this answer

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.