Document Classesgraphics on slides with beamer

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Kai*
Posts: 1
Joined: Sun Aug 10, 2008 9:30 pm

graphics on slides with beamer

Post by Kai* »

Dear Users,
I have a question about presentations with beamer. It's the first time I work with Latex, so I hope this question is not too stupid. Everytime I insert a graph it produces the graph + the parts of the path of the graph on the slide.
I want the graph on the slide, but of course not the path where the graph is saved on my harddisk. Can anyone help me out?
Thanks, Kai

\begin{frame}
\frametitle{Entwicklung des Panels (I/II)}
\begin{figure}
\centering
\includegraphics[width=1.00\textwidth]{C:/Dokumente und Einstellungen/Desktop//1.JPG}
\end{figure}
\end{frame}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

graphics on slides with beamer

Post by Stefan Kottwitz »

Hello Kai,

welcome to the board!
Try to use \includegraphics without spaces inside the file name. I would even recommend to use a relative path, for instance just

Code: Select all

\includegraphics[width=1.00\textwidth]{1.JPG}
if you put 1.JPG into the same directory where your tex document is located.

Stefan
LaTeX.org admin
Post Reply