I am using the following example code in problem files to display an image:
In a HW set, the image is left-justified, and looks fine.
However, when I generate a pdf of a HW set with this problem file, the image is not next to the left margin, but indented to the point where it spills over into the second column (if the problem is in the first column of the pdf) - or ever worse, if the problem is in the second column of the pdf, the image is indented so far that part of the image is cut off on the right side of the page.
Also, on the pdf, part of the path name of the image is shown just under the image.
Does anyone know what might be causing this, and how it might be fixed?