如何找到雙欄模式回憶錄的頁邊距設定?

如何找到雙欄模式回憶錄的頁邊距設定?

我有一個很長的文檔,我不想使用twocolumn模式,但我喜歡它使用的邊距。我將手動使用multicol來建立兩個欄位(這樣我就可以輕鬆地將腳註和其他內容設為單列)。

比較

\documentclass[12pt,twocolumn]{memoir}
\usepackage{lipsum}

\begin{document}
\lipsum
\end{document}

\documentclass[12pt]{memoir}
\usepackage{lipsum}
\usepackage{multicol}

\begin{document}
\begin{multicols}{2}
\lipsum
\end{multicols}
\end{document}

第二個的預設邊際要寬得多。有沒有辦法查看給定memoir文件中的頁邊距並將其複製到另一個文件中?

(我這樣做的原因是因為這個問題讓我相信這個twocolumn選項並不能真正滿足我的需要。

答案1

memoir提供的設施我認為可以提供您想要的資訊(文件的第25頁)。

\documentclass[12pt,twocolumn]{memoir}
\usepackage{lipsum}
\settypeoutlayoutunit{mm}% note: needs to come *first* to have any effect (documentation is wrong)
\typeoutlayout
\typeoutstandardlayout
\begin{document}
\lipsum
\end{document}

然後輸出包含以下資訊:

******************************************************
Stock height and width: 279.39671mm by 215.89746mm
Top and edge trims: 0mm and 0mm
Page height and width: 279.39671mm by 215.89746mm
Text height and width: 192.77344mm by 164.83272mm
Spine and edge margins: 20.47931mm and 30.58543mm
Upper and lower margins: 43.80676mm and 42.8165mm
Headheight and headsep: 5.0961mm and 6.98476mm
Footskip: 10.54367mm
Columnsep and columnseprule: 3.51456mm and 0mm
Marginparsep and marginparwidth: 3.51456mm and 16.86987mm
Sidecapsep and sidecapwidth: 3.51456mm and 16.86987mm
Sidebarhsep and sidebarwidth: 3.51456mm and 16.86987mm
Sidebarvsep and sidebartopsep: 5.0961mm and 0mm
Sidebarheight: 192.12323mm
Sidefoothsep and sidefootwidth: 3.51456mm and 16.86987mm
Sidefootvsep and sidefootheight: 5.0961mm and 192.12323mm
******************************************************


******************************************************
Page height and width: 279.39671mm by 215.89746mm
Text height and width: 192.77344mm by 164.83272mm
Oddside and evenside margins: -4.92038mm and 4.92038mm
Topmargin and footskip: 6.3262mm and 10.54367mm
Headheight and headsep: 5.0961mm and 6.98476mm
Columnsep and columnseprule: 3.51456mm and 0mm
Marginparsep and marginparwidth: 3.51456mm and 16.86987mm
******************************************************

所以我想你想要這樣的東西:

\documentclass[12pt]{memoir}
\usepackage{lipsum}
\setlength{\textwidth}{164.83272mm}
\setlength{\marginparsep}{3.51456mm}
\setlength{\marginparwidth}{16.86987mm}
\setlength{\oddsidemargin}{-4.92038mm}
\setlength{\evensidemargin}{4.92038mm}
\settypeoutlayoutunit{mm}
\typeoutlayout
\typeoutstandardlayout
\begin{document}
\lipsum
\end{document}

在下圖中,頁面與正常位置相反,即我的檢視器將奇數頁面放在左側而不是右側 - 因此出現奇數間距效果。

單列雙列間距

請注意,這違背了memoir存在的理由......

相關內容