I would like to subtract the integer 1 from the names of the files I have included in the for loop. Although this works for the integer values, the float doesn't decrease by one, but rather shows '63.1-1' for example. Would like help with this. Thank you!
I have tried using the math operator, using '\the\numexpr\x-1\relax'. The former didn't work for both floats and integers, while the later only worked for integers. You can find my code here:
\usepackage{graphicx, pgffor}
\foreach \x in {59, 60.1, 60.2, 62, 63.1, 63.2, 65, 66.1, 66.2, 67.1}{%
\parbox{.4\textwidth}{\centering\includegraphics[width=\linewidth]{Figures/Graphs/Picture\x.png}\par \tiny Slide \the\numexpr\x-1\relax}\space%
}%