## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Using figures in Beamer

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

### Using figures in Beamer

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?

Johannes_B
Site Moderator
Posts: 3970
Joined: Thu Nov 01, 2012 4:08 pm
`\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.