![如何在 LaTeX 中将多个段落放在一起?如下图所示](https://linux22.com/image/454198/%E5%A6%82%E4%BD%95%E5%9C%A8%20LaTeX%20%E4%B8%AD%E5%B0%86%E5%A4%9A%E4%B8%AA%E6%AE%B5%E8%90%BD%E6%94%BE%E5%9C%A8%E4%B8%80%E8%B5%B7%EF%BC%9F%E5%A6%82%E4%B8%8B%E5%9B%BE%E6%89%80%E7%A4%BA%20.png)
答案1
我知道您要的是 LaTeX。但是您的问题中没有提供任何起始 LaTeX 代码,而且我不喜欢 LaTeX。所以我向您展示了可直接由 OpTeX 处理的代码,而不是 LaTeX。但主要思想在这里清楚地显示出来,它仅基于 TeX 基元:、、、、和\baselineskip
。它们可以在您的 LaTeX 中以相同的方式使用。您可以从此代码中获得启发并将\par
其重写为 LaTeX。\vbox
\setbox
\hsize
\kern
\def
\def\shadowpar#1{\par
\bgroup
\baselineskip=20pt
\setbox0=\vbox{\hsize=15cm #1}
\setbox1=\vbox{\hsize=16cm \Red #1}
\vbox to0pt{\box0\vss}\kern5pt \box1
\egroup
}
\shadowpar{%
When a battery is supplying power, its positive terminal is the cathode
and its negative terminal is the anode.
When a battery is supplying power, its positive terminal is the cathode
and its negative terminal is the anode.
When a battery is supplying power, its positive terminal is the cathode
and its negative terminal is the anode.
When a battery is supplying power, its positive terminal is the cathode
and its negative terminal is the anode.
}
\bye