如何制作带注释的文本,将原始文本与我的评论进行对比?

如何制作带注释的文本,将原始文本与我的评论进行对比?

假设有人给我发送了一份(纯文本或 LaTeX 源)文本文档。我可以对文本发表评论并提出改进建议。我想制作一份 LaTeX 文档,将原文和我的建议并排显示。布局应该清楚地表明原文是什么,并且我可以添加的文本数量应该没有限制。有没有方便的解决方案?

这是一个示例/模型:

We conclude that $A=B$.
\annotate{Please cite a proper definition of both A and B.
Also note, that the A.B.'s infamous paper uses a notation which contradicts
C.D.'s use of the term A.}
This is trivial.
\annotate{Are you kidding me? Where's the proof?}

这可以表示为:

We conclude that $A=B$.    Please cite a proper definition
                           of both A and B.
                           Also note, that the A.B.'s infamous paper
                           uses a notation which contradicts
                           C.D.'s use of the term A.
This is trivial.           Are you kidding me? Where's the proof?

答案1

你可能想看看todonotes包。它在页边空白处和脚注中提供注释。

相关内容