
내 회고록 문서에 단락을 추가하려고 합니다. 작동하지 않습니다. 아래 MWE는 오류를 일으키지 않지만 단락이 들여쓰기되지 않습니다. 예를 들어 "that"이라는 단어는 정의에서 D 바로 아래에 있습니다. 약간 들여쓰기되었으면 좋겠습니다.
MWE 시작
\documentclass[11pt, statementpaper]{memoir}
\title{Interesting words}
\author{Peter Flom}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{leading}
\leading{14pt}
\setlrmarginsandblock{0.75in}{*}{*}
%\setulmarginsandblock{0.75in}{0.75in}{*}
\setsubsecheadstyle{\scshape\raggedright}
%\newcommand{\entry}[2]{\medskip\noindent{\Large\textbf{#1} (#2)\par}}
\newcommand{\entry}[2]{\medskip\noindent{\Large\textbf{#1} \normalsize{#2} \par}}
\newcommand{\sclabel}[1]{\leavevmode{\normalfont\scshape #1}}
%% Less spacing around lists
\firmlists
\begin{document}
\begin{hangparas}{.2in}{1}
\entry{antipelargy}{Presumably it rhymes with can tie del urge see} \index{antipelargy}
\begin{flexlabelled}{sclabel}{0pt}{0.5em}{0.5em}{*}{\leftmargin}
\item[Definition]
Reciprocal love or kindness, especially that between parents and children. \cite{OED1971} The adjectival form is \emph{antipelargic}.
\item[Etymology]
From Greek \emph{antipelargia} (mutual love) via Latin and French \emph{antipelargie} (same meaning). The root is with stork (the bird) which was believed (by the Greeks) to be particularly affectionate (this may be the origin of the notion that storks deliver babies).
\item[Usage]
How odd that we have no other word for this and that this word is so rare. It isn't even in most dictionaries.
\item[Examples] \leavevmode
\begin{quote}
Antipelargy is key to the survival of the species.
\end{quote}
\item[Frequency]
There were no uses of \emph{antipelargy} in Google Ngram Viewer.
\end{flexlabelled} \vspace{0.5in}
\end{hangparas}
\end{document}
MWE 종료
답변1
의 정의 flexlabelled
는
% memoir.cls, line 4739:
\newenvironment{flexlabelled}[6]%
{\list{}{\nametest{#2}{*}%
\ifsamename\else \labelwidth #2 \fi
\nametest{#3}{*}%
\ifsamename\else \labelsep #3 \fi
\nametest{#4}{*}%
\ifsamename\else \itemindent #4 \fi
\nametest{#5}{*}%
\ifsamename\else \leftmargin #5 \fi
\nametest{#6}{*}%
\ifsamename\else \rightmargin #6 \fi
\def\m@malabel{\@nameuse{#1}} \let\makelabel\m@malabel}}%
{\endlist}
이는 환경이 list
다음을 기반으로 설정 됨을 의미합니다.
\parshape \@ne \@totalleftmargin \linewidth
~에모든단락은 재정의되거나 환경이 끝날 때 설정이 취소될 때까지 조판됩니다.
TeX이 문단을 조판할 때, \parshape
그 값이 0이 아니면 를 사용하고, 그렇지 않으면 \hangindent
그 값이 0이 아니면 를 사용합니다.
따라서 list
내부는 hangparas
의 값을 무시합니다 \hangindent
. 내부에서 list
사용할 계획이라면 이를 기반으로 환경을 정의해야 합니다 .flexlabelled