【发布时间】:2020-05-17 00:23:53
【问题描述】:
对于我当前的项目,我需要将两个文本排成两列。这个想法是,一列显示原始语言,第二列显示其翻译,一行一行地整齐排列。包 paracol 做了我想要的,除了一件事:脚注放置。
如果其中一列有脚注而另一列没有脚注,则原文和译文的行不会放在一起。脚注打乱了行的排列。
这是一个示例,您可以在该示例中看到“应该在左列中的行旁边的一些其他文本”未与原始行对齐。都是因为脚注。
\documentclass[twoside,a4paper,11pt]{book}
\usepackage{paracol}
\usepackage{lipsum}
\begin{document}
\begin{paracol}{2}
\lipsum[1-2]
\switchcolumn
\lipsum[1-2]
\switchcolumn
text with footnote\footnote{the footnote}
and some other text
\switchcolumn
the translation without footnote
some other text that should be next to the line in the left column
\end{paracol}
\end{document}
如您所见,脚注打乱了行的对齐方式。如何解决这个问题?
【问题讨论】:
标签: latex