Take the 2-minute tour ×
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.
\documentclass{article}
\usepackage{chemstyle}

\begin{document}
    \begin{scheme}[ht]
        \includegraphics[scale=0.8]{schemes/lab1}
        \caption{Experiment 1 reactions and mechanism}
    \end{scheme}
\end{document}

When I don't use scale, this MWE works fine. However, when I use scale, I get the errors:

Runaway argument?
scale=0.8]{schemes/lab1} \caption {Experiment 1 reactions and mechanism} \end {scheme} 
/Users/Zak/Documents/McGill/CHEM 222/TSWLatexianTemp_001549.tex:16: Paragraph ended before \Gin@iii was complete.

and

\begin{document} ended by \end{scheme}.

What am I missing?

share|improve this question
5  
Try including \usepackage{graphicx} in the preamble. –  Yiannis Lazarides Jan 31 '12 at 17:02
1  
Perfect, thanks. –  Zak Jan 31 '12 at 17:04
1  
@YiannisLazarides: Please convert your comment into an answer. –  Werner Jan 31 '12 at 17:17
    
@Zak: Rather than marking the question as "SOLVED" in the title, I've requested Yiannis to convert his comment into an answer. Once this is done, consider upvoting and marking it as accepted - How do you accept an answer? –  Werner Jan 31 '12 at 17:18
add comment

1 Answer

up vote 4 down vote accepted

Try including \usepackage{graphicx} in the preamble.

share|improve this answer
add comment

Your Answer

 
discard

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.