Graphics, Figures & Tables ⇒ multiple graphics paths in one document
-
- Posts: 1
- Joined: Thu Aug 14, 2014 12:14 pm
multiple graphics paths in one document
Ive searched the community to find an answer but not had much success other than this post: http://www.latex-community.org/forum/vi ... =45&t=9834 which although it had the title i was looking for it didnt answer the question id hoped.
I want to have a report with quite a few graphics in from several different folders. I have a lot of graphics and hence to maintain organisation have kept them in separate folders. I understand how to use the graphics path to find an image but is it possible to have multiple graphics paths in one document so i dont have to transfer all the images to the same folder?
Any help would be appreciated, thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
multiple graphics paths in one document
I found this at the UK List ofThe alternative is to use the graphics package command \graphicspath; this command is of course also available to users of the graphicx and the epsfig packages. The syntax of \graphicspath’s one argument is slightly odd: it’s a sequence of paths (typically relative paths), each of which is enclosed in braces. A slightly odd example (slightly modified from one given in the graphics bundle documentation) is:
which will search for graphics files in subdirectories eps and png of the directory in which LaTeX is running. (Note that the trailing “/” is required.)Code: Select all
\graphicspath{{eps/}{png/}}
TeX Frequently Asked Questions