TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a picture in my desktop, how can i use it by set graphicspath? I checked some examples, still no idea. Below is an example, but it compile error

\includegraphics[]{f6f2a0b.jpg} %

enter image description here

share|improve this question
up vote 6 down vote accepted

Each directory path should be in its own set of braces. But what you seem to have done here is put each part of the path in its own set, which won't work. Assuming you want to set one directory which is C:/Users/Me/Desktop/ then your command should be \graphicspath{{C:/Users/Me/Desktop/}}.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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