Graphics, Figures & TablesUsing figures in Beamer

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
LindaPeterson
Posts: 1
Joined: Sat Dec 08, 2018 3:35 pm

Using figures in Beamer

Post by LindaPeterson »

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?

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Using figures in Beamer

Post by Johannes_B »

\usepackage{grffile} in the preamble should be enough.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply