图像缩放不适用于 \includegraphics

图像缩放不适用于 \includegraphics
\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}

当我不使用 时scale,此 MWE 工作正常。但是,当我使用 时scale,我收到错误:

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.

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

我错过了什么?

答案1

尝试将其包含\usepackage{graphicx}在序言中。

相关内容