General ⇒ Add picture on first page of presentation
Add picture on first page of presentation
When I put the :
\begin{figure}[!h]
\includegraphics[..]
\end{figure}
before \begin{document} document it will make an error:
! LaTeX Error: Missing \begin{document}
But I want to add logo at the first page, right after \author, \institute and \date
Is there any solution ?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Add picture on first page of presentation
don't use the figure environment there. It's intended for floating pictures, you don't need it. Use just \includegraphics instead.
Or alternatively use \pgfdeclareimage and the \logo command, see beamer user guide.
Stefan
Add picture on first page of presentation
When I use \includegraphics withouth \begin{figure} and \end{figure} I will receive the same error:Stefan_K wrote:Hi afinko,
don't use the figure environment there. It's intended for floating pictures, you don't need it. Use just \includegraphics instead.
Or alternatively use \pgfdeclareimage and the \logo command, see beamer user guide.
Stefan
Missing \begin{document}
When I use \logo{\includegraphics[height=0.5cm]{logo.pdf}} it will add a logo, but the positoon of logo can not be changed and logo is at all pages of document.
When I use \pgfdeclareimage[height=0.5cm]{logo}{tu-logo}
\logo{\pgfuseimage{logo}}
Nothing is happening.
When I use \insertlogo behind it, the same error Missing \begin{document} occur.


There is no some simple method how to add picture in tittle page ?

- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Add picture on first page of presentation
Code: Select all
\title{My Presentation}
\subtitle{\includegraphics{logo}}
\author{Tester}
...
Add picture on first page of presentation
This is exactly what I was looking for.Stefan_K wrote:Just \includegraphics should work, but not standalone, it will work as argument to a title-command, for example:StefanCode: Select all
\title{My Presentation} \subtitle{\includegraphics{logo}} \author{Tester} ...
Thank you very much

