用TexStudio插图的问题

2020-03-15 08:19发布

我复制粘贴一张图片过来,软件自动生成的代码,如下: \begin{figure} \centering \includegraphics[width=0.7\linewidth]{screensh...

我复制粘贴一张图片过来,软件自动生成的代码,如下: \begin{figure} \centering \includegraphics[width=0.7\linewidth]{screenshot001} \caption{批量导出文件数据库里面的table} \label{fig:screenshot001} \end{figure} 报错信息如下: 行 25: Undefined control sequence. ^^I\includegraphics 行 25: Missing number, treated as zero. ^^I\includegraphics[width=0.7\linewidth] 行 25: Illegal unit of measure (pt inserted). ^^I\includegraphics[width=0.7\linewidth] : Unused global option(s): [UTF-8]. : Label(s) may have changed. Rerun to get cross-references right. 请教大牛门,这个问题是出在哪里?要怎么解决?是不是我漏掉了import什么?我的文件头是这样的 \documentclass[UTF-8]{ctexart} \usepackage[colorlinks,linkcolor=red]{hyperref}