Graphics, Figures & TablesUsing figures in Beamer

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

Using figures in Beamer

Post by hbaromega »

I am using many figures which have been named with several parameter values
in my beamer presentation.

For the convenience I have named the figures with the values of the parameter, e.g. Resistivity_sample_length_1.5cm.jpg, Resistivity_sample_length_2.0cm.jpg, etc.

However, pdflatex considers the decimal points as dots for the extension name of a file and hence objects to compile. [In normal latex we do not encounter such problems.]


Could be there a clever way to get compilation successfully without changing the file names?
Last edited by cgnieder on Sun May 19, 2013 10:03 pm, edited 1 time in total.

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

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Using figures in Beamer

Post by cgnieder »

This should work:

Code: Select all

\includegraphics{{Resistivity_sample_length_2.0cm}.jpg}
Regards
site moderator & package author
Post Reply