
Memoir ドキュメントで段落をぶら下げようとしていますが、うまくいきません。以下の MWE ではエラーは発生しませんが、段落がインデントされていません。たとえば、「that」という単語は、Definition の 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
その値がゼロ以外の場合は を使用し、\hangindent
それ以外の場合は を使用します。
したがって、list
の内部hangparas
は の値を上書きします。 の内部で使用することを計画している場合は、\hangindent
に基づいて環境も定義する必要があります。list
flexlabelled