自动添加注释空间,同时保持布局不变

自动添加注释空间,同时保持布局不变

考虑一下,我有一份需要以某种方式审阅的文档,我在其中添加了带有注释的 todonotes/marginnotes。

因此,通常的文档边距可能太小。有没有办法只为 todonotes 添加额外的空间,同时保持文档布局不变?我知道有办法改变边距、页面几何形状等。但有没有一种巧妙的方法,我只需要在页眉中添加一行代码,就可以在审阅过程中获得更宽的边距?这也很重要,因为我并不总是忽略作者对他的 tex 文档所做的所有布局设置,所以在手动设置更宽的边距时,我可能会更改一些内容。此外,理想情况下,我不想弄乱边距注释。

所以基本上考虑一个布局好的信件页面文档。我只想添加额外的空间,所以在信件文档的右侧有额外的空间。

有没有什么好办法?

这是一个最小的工作示例:

\documentclass{article}
% loads of unknown author specific packages, settings, layouting
\usepackage{todonotes}
\begin{document}
This is some text to review.
\todo{This would be my comment on some extra wide margin just for todonotes.}
\end{document}

答案1

enter image description here

\documentclass{article}
% loads of unknown author specific packages, settings, layouting
\usepackage[textwidth=\dimexpr\marginparsep+4cm\relax]{todonotes}


\begin{document}
This is some text to review.
\todo{This would be my comment on some extra wide margin just for todonotes.}
\end{document}

相关内容