我正在使用乳膠製作報告,並使用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
,但我想以“正確”的方式進行。