I'm beginner in Latex, and need help, How can I, select all images on folder? I trying using the popular /*.jpg, but do not function

\documentclass{article} \usepackage{graphicx}



  • Welcome to TeX.Stackexchange! – user36296 Oct 3 '18 at 15:01

One approch could be to rename all the images by for example image1.jpg, image2.jpg, and so on. And if so we can use pgffor package like this:



\foreach \i in {1,...,5}{
    \begin{figure} \includegraphics[width=0.5\textwidth]{C:/Users/myuser/Pictures/Images/image\i.jpg} \end{figure}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.