改变边距缩进

改变边距缩进

我正在使用 latex 制作报告,并使用changemargin命令将单个图形居中。我的问题是,当我结束命令时,changemargin其余文本会出现,而没有整个文档的初始缩进。我试过了\restoregeometry,但它不起作用。这是我的代码:

\begin{center}
    \includegraphics[scale=.6]{3s13s1_5.png}
\end{center}
\begin{changemargin}{-1cm}{5cm}
\begin{center}
    \includegraphics[scale=.6]{3s13s1_2.png}
\end{center}
\end{changemargin}
  \captionof{figure}{Contact and meson exchange potentials for the $^3S_1\ \rightarrow\ ^3S_1$ transition. $C$ and $C^*$ denote the contact potential using \ref{eq:C} and \ref{eq:C*} constants respectively. $OME$ denotes the one $\eta$ exchange potential. Larger view of the interaction potential contributions and total contribution for the present transition (below).}
\label{fig:3s13s1}
\newpage 
\begin{center}
    \includegraphics[scale=.6]{5s25s2_3.png}
\end{center}
\begin{changemargin}{-1cm}{5cm} 
\begin{center}
    \includegraphics[scale=.6]{5s25s2_2.png}
\end{center}
\end{changemargin}
  \captionof{figure}{Contact and meson exchange potentials for the $^5S_2\ \rightarrow\ ^5S_2$ transition. $C$ and $C^*$ denote the contact potential using \ref{eq:C} and \ref{eq:C*} constants respectively. $OME$ denotes the one $\eta$ exchange potential. Larger view of the interaction potential contributions and total contribution for the present transition (below). $V(r)$ is expressed in MeV.}
\label{fig:5s25s2}
\restoregeometry 

有人知道我该如何解决这个问题吗?(我尝试使用\hspace,但我想以一种“正确”的方式做到这一点。

相关内容