
다음 두 가지를 어떻게 달성할 수 있는지 궁금합니다.
메모와 설명을 사용하기 위해 페이지 여백을 정의하고 싶습니다
\marginpar
. 문제는 회고록을 양면 옵션으로 사용하는데도 홀수쪽 바깥쪽 여백과 짝수쪽 바깥쪽 여백이 다르다는 것입니다. 홀수 페이지와 짝수 페이지 모두에서 외부 여백이 정확히 동일하기를 원합니다(예: 외부 여백 6cm, 내부 여백 2cm).외부 여백(marginsep 및 marginwidth 모두)을 포함하도록 머리글과 바닥글을 확장하고 싶습니다. 핸드북에 따르면 이 작업은
companion
페이지 스타일을 사용하여 수행할 수 있지만 기본 장 스타일(예: 글꼴, 스타일, 모양, 규칙 없음 등)을 선호합니다. 머리글과 바닥글이 여백 영역까지 확장되도록 장 페이지 스타일을 어떻게 수정합니까? Btw.: 회고록 핸드북의 스타일 정의를headwidth
사용하여 수정하려고 했습니다 .companion
그러나 나는 성공하지 못했습니다.
나는 이것을 시도했다:
\setlength{\headwidth}{\textwidth}
\addtolength{\headwidth}{\marginparsep}
\addtolength{\headwidth}{\marginparwidth}
\copypagestyle{chapter}{plain}
\makerunningwidth{chapter}{\headwidth}
여기 MWE가 있습니다. 좀 줄여보려고 했어요.
\documentclass[12pt,foliopaper,twoside]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{kantlipsum}
\usepackage{tikz}
%*****************Margins and MarginNotes******************
\setmarginnotes{10pt}{5cm}{6pt}
\setlength{\textwidth}{0.9\textwidth}
\let\oldmarginpar\marginpar
\renewcommand\marginpar[1]{\-\oldmarginpar[\footnotesize #1]%
{\raggedright\footnotesize #1}}
%*******************Header & Footer***********************
\nouppercaseheads
%***********************Document*******************
\author{Author}
\date{\today}
\title{\textbf{Title}}
\begin{document}
\maketitle
\chapter{Chapter 1}
\kant[12]
\marginpar{The reader should be careful to observe that the objects in space and time are the clue to the discovery of, certainly, our a priori knowledge, by means of analytic unity.}
\kant[8]
\marginpar{The reader should be careful to observe that the objects in space and time are the clue to the discovery of, certainly, our a priori knowledge, by means of analytic unity.}
\kant[7]\marginpar{The reader should be careful to observe that the objects in space and time are the clue to the discovery of, certainly, our a priori knowledge, by means of analytic unity.}
\section{Section 1}
\kant[7]
\chapterstyle{default}
\newpage
\printindex
\end{document}
답변1
나는기하학여백 크기(외부 6개, 내부 2개)를 올바르게 설정합니다. \headwidth
반드시 와야 한다는 것을 기억하세요~ 후에기하학적 여백 정의. 지적한대로달리프회고록 동반자 스타일로 하는 것이 훨씬 더 쉽고 깔끔합니다. 첫 번째 장 페이지에 동일한 스타일을 적용하려면 \aliaspagestyle{chapter}{companion}
\pagestyle 뒤에 추가하세요. Adobe Acrobat의 스크린샷:
\documentclass[12pt,foliopaper,twoside]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{kantlipsum}
\usepackage{tikz}
%*****************Margins and MarginNotes******************
\usepackage[outer=6cm, inner=2cm, heightrounded, marginparwidth=4cm, marginparsep=1cm]{geometry}
%*******************Header & Footer***********************
\setlength{\headwidth}{\textwidth}
\addtolength{\headwidth}{\marginparsep}
\addtolength{\headwidth}{\marginparwidth}
\nouppercaseheads
%***********************Document*******************
\author{Author}
\date{\today}
\title{\textbf{Title}}
\pagestyle{companion}
\begin{document}
\maketitle
\chapter{Chapter 1}
\kant[12]
\marginpar{The reader should be careful to observe that the objects in space and time are the clue to the discovery of, certainly, our a priori knowledge, by means of analytic unity.}
\kant[8]
\marginpar{The reader should be careful to observe that the objects in space and time are the clue to the discovery of, certainly, our a priori knowledge, by means of analytic unity.}
\kant[7]\marginpar{The reader should be careful to observe that the objects in space and time are the clue to the discovery of, certainly, our a priori knowledge, by means of analytic unity.}
\section{Section 1}
\kant[7]
\marginpar{The reader should be careful to observe that the objects in space and time are the clue to the discovery of, certainly, our a priori knowledge, by means of analytic unity.}
\chapterstyle{default}
\newpage
\printindex
\end{document}