[Tex/LaTex] Multiple graphics directory


Here is what I am trying to do. I am writing a document which has many figures. In order to manage the figures it is very convenient for me to keep different types of figures in different folders. Now in the .tex file how can I change the graphicspath to the folder that my graphics are in. If there are multiple different folders where my graphics are located then I shall like to change the directory multiple times. Can you suggest how to do this?

Best Answer

Use \graphicspath in the preamble

as in:



    \includegraphics{one}   %picture named one in directory img
    \includegraphics{two}   %picture named two in directory img
    \includegraphics{three} %picture named three in directory pictures