I would like to add many images to my document. The images are located in a folder named ./assets/images/
and are numbered as follows 0.png, 1.png, ..., 100.png
. How can I include them using a for-loop in Latex?
At the moment I do the following, which is not very aesthetic:
\begin{figure}
\centering
\includegraphics{./assets/images/1.png}
\includegraphics{./assets/images/2.png}
\includegraphics{./assets/images/3.png}
\includegraphics{./assets/images/4.png}
% and so on
\caption{}
\label{}
\end{figure}
Is there a way to do something like this:
\begin{figure}
\centering
for image in images:
\includegraphics{./assets/images/ + image}
\caption{}
\label{}
\end{figure}