70

I want to insert the logo in the title page only. However, it displays on all pages! How can I make these two figurs display as logo in the title page only?

I type in the preamble:

\logo{%
   \includegraphics[scale=.2]{fig1.pdf}\hspace*{4.75cm}~%
   \includegraphics[scale=.2]{fig2.jpg}\hspace*{0.75cm}%
   }

then

\begin{document}

\maketitle

\begin{frame}
\frametitle{}
...
\end{frame}
1
  • I use \logo{includegraphics{Image/linuxLogo.png}} but image is appeared in slides.
    – alhelal
    Feb 6, 2018 at 13:22

2 Answers 2

81

The command to be used to display the logo only in the titlepage is \titlegraphic.

For example:

\documentclass{beamer}

\author{Me}
\title{The title}
\institute{My institute}

% logo of my university
\titlegraphic{\includegraphics[width=2cm]{logopolito}\hspace*{4.75cm}~%
   \includegraphics[width=2cm]{logopolito}
}

\begin{document}
\begin{frame}
\titlepage
\end{frame}

\begin{frame}{Test 1}
test
\end{frame}

\begin{frame}{Test 2}
test
\end{frame}
\end{document}

I report the first two frames:

enter image description here

enter image description here

11
  • This was by far the best way to display logo only on the first page. I did, however, played with the \vspace{+ or - ...cm} and the \hspace{+ or - ...cm} to try and position the logo where I wanted them to go. The other thing I did was to ensure by reducing size or words of my title text so that it doesn't take up too many lines as this reduces the space at the bottom of the page where the logo needs to go. Many thanks
    – user18981
    Sep 21, 2012 at 13:36
  • @Richard: notice that there are other ways, for example customizing directly the titlepage template. See also as reference Logo situated only on titlepage of Beamer presentation Sep 22, 2012 at 8:23
  • 1
    While this answer solves the asker's problem, I think it does not answer the question: How to make the logo - declared by \logo{} only appear on the title slide. \titlegraphic should be used for what it says: place a title graphic, not the logo. A better way to solve the asker's problem would be in the style files where you could turn off the logo placement.
    – mpe
    Sep 13, 2014 at 14:20
  • 2
    @mpe: I'm afraid, I disagree. The \titlegraphic macro should be used exactly for the purpose of setting a logo only in the title page, so I'm wondering, why one should modify \logo when it exists \titlegraphic? Take into account that very often logo and title graphic are used interchangeably. Sep 13, 2014 at 14:38
  • 2
    That is correct, but if one wants to display an istitutional logo only on the first page, this the simplest way to go. The only is what I implicitly assumed while answering. Of course there are other tricks, however none of them is as simple as this one. But you have a point with your comment ;) Mar 3, 2017 at 17:31
8

I had a similar issue and didn't like the titlegraphic solution. Here is what I did:

\documentclass{beamer}

\author{Me}
\title{The title}
\institute{My institute}

% logo of my university  
\logo{\includegraphics[width=2cm]{logopolito}\hspace*{8cm}~%
  \includegraphics[width=2cm]{logopolito}
}

\begin{document}
\begin{frame}
\titlepage
\end{frame}

\logo{}

\begin{frame}{Test 1}
test
\end{frame}

\begin{frame}{Test 2}
test
\end{frame}
\end{document}

This gave me the following output:

Titlepage First frame Second frame

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .