數字忽略調整寬度的全域設定

數字忽略調整寬度的全域設定

我有一個很長的文檔,我不想破壞其格式。我的目標是將整個內容向右移動;所以基本上,如果我增加右邊距,1cm我希望左邊距減少相同的量。這樣,格式和所有佈局將保持不變。我用過\begin{adjustwidth}{1cm}{-1cm}換頁包以實現此目的。問題是所有的數字(或我猜所有的浮動)都忽略了這一點,並且它們根據舊的邊距縮進(可以清楚地看到標題右邊距小於1cm文檔的其餘部分)。我怎麼能實現將所有內容向右移動的目標,1cm同時將左邊距減少相同的量。這是一些程式碼:

\begin{document}

\begin{adjustwidth}{1cm}{-1cm} %<========================= works fine for everything except figures.
%% This actually creates the title and abstract pages
\dotitleandabstract

%% Generate contents etc
\tableofcontents
\listoffigures
\listoftables

%% These include the actual text
\include{chapter1}
\include{chapter2}
\include{chapter3}
\include{chapter4}
\include{chapter5}
\include{chapter6}

\bibliography{refs}             % this causes the references to be
                                % listed

\bibliographystyle{alpha}       % this determines the style in which
                                % the references are printed, other
                                % possible values are plain and abbrv
%% Appendices start here
\appendix
\include{appendix1}
\end{adjustwidth}
\end{document}

答案1

若要將所有內容移至右側,請勿使用adjustwidth僅設定\hoffset為所需的長度。

相關內容