排版对话?

排版对话?

我需要用 LaTeX 排版一段对话,这是一份翻译作业。原始对话是这样的:

- I found it, I told him.
My finger was in the book, where George Best's autograph was. My da was
sitting in his chair.
- Did you? he said. - Good man. What?
- What?
- What did you find?
- The autograph, I told him.
He was messing.

我希望保留该格式,而不必诉诸\\诸如此类。我dialogue在 CTAN 上找到了该包,但它似乎不是我想要的。

有任何想法吗?

答案1

这真的取决于你需要多长时间以及你有多挑剔。根据你的描述,我会定义类似

\setlength\parindent{0pt}
\setlength\parskip{1ex plus 2pt minus 1pt}
\newcommand\X{\par\noindent---~}

和写

\X I found it, I told him.

My finger was in the book, where George Best's autograph was. My da was
sitting in his chair.

\X Did you? he said. ---~Good man. What?
\X What?
\X What did you find?
\X The autograph, I told him.

He was messing.

无需太花哨。

相关内容