私の(より小さな)引用環境に何が問題なのでしょうか?

私の(より小さな)引用環境に何が問題なのでしょうか?

ベースラインは自動的に変更されるようです一部のテキストのベースラインが、私が変更を要求したわけでもないのに変わっていることに気付きました。Barbara Beeton のおかげで基本的な問題が何なのかが分かり、他のコメント投稿者も私が環境を変更したと正しく推測してくれましたquote。したがって、この質問を MWE に変換できるようになりました。根本的な問題を理解したいのは当然です。

% arara: xelatex
\documentclass[12pt,article,oneside]{memoir}

\setstocksize{5in}{5in}
\settrimmedsize{5in}{5in}{*}
\settrims{0in}{0in}
\settypeblocksize{3in}{3in}{*}
\setlrmargins{1in}{*}{*}
\setulmargins{1in}{*}{*}
\setheadfoot{\onelineskip}{2\onelineskip}
\setheaderspaces{*}{1.5\onelineskip}{*}

\checkandfixthelayout

\usepackage{relsize,etoolbox}
\AtBeginEnvironment{quote}{\smaller\em}

\begin{document}
\thispagestyle{plain}

Things are looking fine so far... xxxxxxxxx xxxx xx x x x x
xxxxxxxxxxxx x xxxx xxxxxxxx x xxxx.

A bit squeezed in this paragraph...  xxx xxxx xxxxxxxxxx xxxx xx x x x
x xxxxxxxxxxxx x xxxx xxxxxxx xxx xxxx xxx xxxxxxxxxx xxx xxx xxx xxxx
%% - remove these comments to fix spacing (1/2)
\begin{quote}
This is a quote.  y yyyyyyyyyy yyy yyy yyy yyyy yyyyyyyyyy yyyy yy y y
y y yyyyyyyyyyyy y yyyy
\end{quote}
%% - remove these comments to fix spacing (2/2)
This is another paragraph, things are fine again.  xxx xxx xxxx xxx
xxxxxxxxxx xxx xxx xxx xxxx xxxxxxxxxx xxxx xx x x x x xxxxxxxxxxxx x
xxxx

\end{document}

ここに画像の説明を入力してください

答え1

トークン\smaller\emが追加されます前に quote新しい段落が始まるので、新しいベースラインスキップはまだ終了していない段落にも適用されます。

代わりに、

\appto\quote{\smaller\em}

\smaller引用の先頭で実行されます。

ここに画像の説明を入力してください

関連情報