我是一名新手用户,想阻止自动编号段落(使用 \countpar 和 \everypar)也应用于单列回忆录类文档两侧的旁注,分别使用 sidepar 和 marginpar 来设置内边距和外边距。我也尝试使用 marginnote,但无济于事。有人能帮忙吗?
...
\documentclass[a4paper,10pt,twoside,onecolumn,openright,showtrims,final]{memoir}
% PACKAGES
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage[final]{microtype}
% PAGE LAYOUT
\setpagecc{247mm}{203mm}{*}
\settypeblocksize{200mm}{103mm}{*}
\setlrmargins{54mm}{*}{*}
\setulmargins{31mm}{*}{*}
\setmarginnotes{4mm}{32mm}{\onelineskip}
\setheadfoot{\onelineskip}{2\onelineskip}
\setheaderspaces{*}{2\onelineskip}{*}
\checkandfixthelayout
% PARAGRAPH FORMAT
\newcounter{ParagraphNumber}[chapter]
\newcommand\countpar{\everypar{\stepcounter{ParagraphNumber} [\arabic{chapter}.\arabic{ParagraphNumber}] }}
\setlength{\parindent}{0cm}
\setlength{\parskip}{\onelineskip}
% FOOTNOTE NUMBERING PER PAGE
\usepackage{perpage}
\MakePerPage{footnote}
% THE DOCUMENT -------------------------------------------------------------------------------
\begin{document}
\chapter{Introduction}
%\countpar
1st paragraph.
2nd paragraph.
3rd paragraph
\marginparmargin{outer}
\marginpar{\begin{flushleft}Outer note\end{flushleft}}
4th paragraph
\sideparmargin{inner}
\sidepar{Inner note}
5th paragraph
\end{document}
...