I have a lot of images numbered like so:
image_0001.png
image_0002.png
image_0003.png
...
I would like to set up a Latex command to include a specific numbered image, for example:
\myimageinclude{3}
...would include `image_0003.png'.
In a Latex/C hybrid language this might look something like this:
\newcommand{\myimageinclude}[1]{%
\includegraphics{sprintf('image_%04d.png', #1)]}}
But I am unsure of the string formation syntax. Is this possible in Latex?