3

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}

}
  • 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
6

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.

| improve this answer | |
4

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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