LaTeX forum ⇒ Document ClassesLogo only on Title Page of Presentation Topic is solved

Information and discussion about specific document classes and how to create your own document classes.
paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

Logo only on Title Page of Presentation

Postby paulosousa » Sun May 05, 2013 8:55 pm

Hello,

I want to insert the logo only on the title page of a beamer presentation. However, it displays on all pages. How can I make these two figures display as logo only in the title page, centered? ... right after the \author and before \institute. I type this in the preamble.
  1. \logo{%
  2. \includegraphics[scale=.2]{logo1.png}\hspace*{0cm}~%
  3. \includegraphics[scale=.2]{logo2.png}\hspace*{0cm}%
  4. }

I also tried this.
  1. \title{\textbf{Title}}
  2. \author{\textbf{Author}}
  3. \titlegraphic{
  4. \includegraphics[width=1cm]{figuras/logo1UM.png}
  5. \hspace*{0cm}~%
  6. \includegraphics[width=1cm]{figuras/logo2UM.png}
  7. }
  8. \institute{UM}
  9. \date{\footnotesize{julho 2013}}

But the logos appears only after the date and not between \author and \institute as I need. Any idea to change it? Could anyone please help me?

Tags:

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Tue May 07, 2013 5:07 pm

Simply embed the graphics intended for the logo in the \author command and use its optional argument for good measure.
  1. \documentclass[smaller,professionalfonts]{beamer}
  2. \usepackage[T1]{fontenc}
  3. \usepackage{lmodern}
  4.  
  5. \author[The Author]{The Author\\[2ex] \includegraphics[scale=0.25]{example-image-a}}
  6. \title{The Title}
  7. \institute{Institution}
  8. \date{Julho 2013}
  9.  
  10. \begin{document}
  11. \begin{frame}[plain]
  12. \titlepage
  13. \end{frame}
  14. \end{document}

Details about the title can be read in the beamer user guide.


Remarks:

  • You will get warnings, but the document looks fine.


Thorsten
Attachments
example.png
example.png (5.08 KiB) Viewed 19482 times
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

paulosousa
Posts: 90
Joined: Sun Jun 24, 2012 8:48 pm

Postby paulosousa » Tue May 07, 2013 8:18 pm

perfect, here is what I need. many many thanks for all the help


Return to “Document Classes”

Who is online

Users browsing this forum: No registered users and 4 guests