%20%E4%B8%AD%E5%8C%85%E5%90%AB%20.png%20%E5%9B%BE%E5%83%8F%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98%EF%BC%9A%E5%9B%BE%E7%89%87%E6%A0%BC%E5%BC%8F%E4%B8%8D%E6%AD%A3%E7%A1%AE.png)
我对 \includegraphics 命令有疑问。我以前用过它,也用过“.png”图片,到目前为止还没有遇到任何问题(虽然我对 Latex 还很陌生)。但是,我刚刚尝试将图片包含到我的文档中,结果如下所示(图片在大约一半处被截断,并且右对齐,这两者都不是预期的;此外它还显示了文件名的一部分):
这是我正在使用的代码。我也只尝试过 \includegraphics、\includegraphics[width=\textwidth] 等:
\begin{figure}
\centering
\includegraphics[scale=0.4]{Statistics II/Instrumentv.png}
\caption{Caption}
\label{fig:my_label}
\end{figure}
如果相关的话,这里是图前的代码:
\begin{enumerate}
\item $D = \gamma_0 + \gamma_1 Z + v$
\begin{enumerate}
\item Regression of D on Z, "treatment assignment model"
\end{enumerate}
\item $\hat{D} = \gamma_0 + \gamma_1 Z$
\item $Y = \beta_0 + \beta^{2SLS} \hat{D} + e$
\begin{enumerate}
\item 2SLS only retains variation of D which is caused by Z
\end{enumerate}
\end{enumerate}
我已经在 Google 上搜索了相当多的内容,但还是无法找到问题的根源。在此先感谢您的帮助!