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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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