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 of a chart I want to include in my beamer presentation

I have included the following in my preamble


I am using MikTeX, when I use the command


I get an error saying file chart not found

Obviously i have something set up wrong, in the file path i have tried .jpeg, .png, and .pdf

I am using pdflatex

any help on where my mistake is would be immensely apprec

share|improve this question

closed as too localized by Ian Thompson, Stefan Kottwitz Apr 23 '12 at 16:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

The correct syntax should be \graphicspath{{C:/Latexpics/}} with an additional set of braces – egreg Apr 22 '12 at 15:25
Why don't put the image in a sub folder of your main input file? For example, if you put in Images sub folder, then you set \graphicspath{{Images/}}. – kiss my armpit Apr 22 '12 at 15:25
I corrected the \graphicspath command, it still gives me the same error. Which file type should i place in the folder? Is should i be including the extension type somewhere. Thanks for the quick responses, I am fairly new to latex and have never been able to figure out including images – user12291 Apr 22 '12 at 15:35
Disregard, the fix worked – user12291 Apr 22 '12 at 15:38

The easy way to include images is just to make sure the image is in the same directory as your .tex file. Then when you are including your graphics, you don't have to bother with a path at all. Just have


and everything should be fine.

share|improve this answer

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