latex里插入的图片过宽,但latex默认从版芯的左边边界处开始排列内容
(参考:https://liam.page/2017/03/22/floats-in-LaTeX-handle-overfull-floats/)
想让图片居中,也就是左右版芯各超出一部分。
解决方案:
使用\makebox
\begin{
figure}[htbp]
\makebox[\textwidth][c]{
\includegraphics[width=1.2\textwidth]{
imagename}}
\caption{
Caption}
\label{
fig:key}
\end{
figure}
参考:https://www.zhihu.com/question/333468036/answer/1245199862