对话中的行距(或行间距)

对话中的行距(或行间距)

我在这里发布示例来说明我想要什么。

\documentclass{article}
\setlength\parindent{0pt}
\usepackage{blindtext}
\begin{document}
\section*{default}
\setlength{\parskip}{10pt}
This is the 1st line.
This should be the 2nd line, with small space to the 1st line (about 3pt).

This should be the 3rd line, with large space to the 2nd line (about 10pt).
\section*{manually modified to get what i want}
\setlength{\parskip}{3pt}
He told her:

- Bla bla.\setlength{\parskip}{10pt}

She asked:\setlength{\parskip}{3pt}

- What did you mean?\setlength{\parskip}{10pt}

\blindtext
\end{document}

输出:

在此处输入图片描述

因此,当我输入 tex 源时:

He told her:
- I don't have time.

不应该只有 1 行,而应该有 2 行,每行之间留出大约 3pt 的间距。有没有办法对整个文档都这样做,而不用每次都重置parskip

相关内容