在 rmarkdown 中工作。这是我的 YAML:
output:
pdf_document:
latex_engine: xelatex
我有一张图片,我想增加它的尺寸,因为里面的字体很小:
\begin{figure}[h]
\begin{center}
\includegraphics{no_contraction.jpg}
\caption {Regulation of vascular smooth muscle relaxation by Nitric Oxide \\ Image taken from Griffiths and Evans, 2005}
\label{f:no_contraction}
\end{center}
\end{figure}
因此我尝试缩放图像:
\begin{figure}[h]
\begin{center}
\includegraphics[scale=1.5]{no_contraction.jpg}
\caption {Regulation of vascular smooth muscle relaxation by Nitric Oxide \\ Image taken from Griffiths and Evans, 2005}
\label{f:no_contraction}
\end{center}
\end{figure}
为什么会发生这种情况?