Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I pdflatex the text below it doesn't insert the picture, but writes the name of the file instead (pic).

And the geometry line gives the error

! LaTeX Error: Missing \begin{document}.

The picture I am using is at and the floatrow package from.


Can anyone see what is wrong?








The first paragraph.


And the second.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

Remove the draft option which just tells latex to print the file name and not include the image.



To allow infix + syntax in

share|improve this answer

Without loading other packages as many as possible, use \geometry{margin=10pt,paperwidth=\dimexpr\textwidth+20pt\relax,paperheight=\dimexpr\textheight+20pt\relax}

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.