行距本地字体环境

行距本地字体环境

tiny我在一个包含 -size 文本的较大文档中有一个包含 -font 的多段落部分normal

本节的最后一段似乎是双倍行距: 图片

我可以通过在最后一个句子前放置一个空行来解决这个问题\end{tiny},但我不知道为什么这样做有效。

有人能告诉我发生了什么事吗?

这是 MWE

\documentclass[11pt,oneside]{report}

\begin{document}
This is normal size.

\begin{tiny}
This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. This is tiny size. 

Why is this paragraph double spaced?  Why is this paragraph double spaced?  Why is this paragraph double spaced?  Why is this paragraph double spaced?  Why is this paragraph double spaced?  Why is this paragraph double spaced?  Why is this paragraph double spaced?
\end{tiny}

\end{document}

答案1

你需要在之前留一个空行

\end{tiny}

每当字体大小发生变化且可能涉及换行时,您需要将段落的结尾包含在范围内,否则当基线间距恢复为先前的值时,段落将在范围之外结束

相关内容