我正在使用 Changes 包来跟踪我和我的导师正在撰写的稿件中的更改。我无法做三件事:
- 调整备注文本框的宽度。可以指定框宽度,也可以让其自动使用右侧边距的剩余部分。
- 删除文本框中的注释编号。我只希望它能命名建议编辑的注释和注释本身,但移动注释编号。
- 使所有框都位于文档的右侧。
特别是对于问题 3,我尝试了这里给出的解决方案:将更改评论/备注框移至左侧,但似乎只适用于一页。在多页文档中,评论框的位置似乎交替出现。是否可以明确地对评论框说“向右”?
这是我的 MWE:
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{todonotes}
\usepackage[authormarkupposition=left,
authormarkuptext=name]{changes}
\definechangesauthor[name={Daniel Wombosi}, color=blue]{Aut1}
\definechangesauthor[name={Mariam Wombosi}, color=orange]{Aut2}
\usepackage[alsoload=synchem,%
range-phrase=--,%
repeatunits=false%
]{siunitx} %For the ability to write SI units
\sisetup{range-units=single}
\sisetup{separate-uncertainty}
\sisetup{detect-all}
\reversemarginpar
\definechangesauthor[name={Reviewer 1}, color=orange]{Rev1}
\definechangesauthor[name={Authors}, color=blue]{Authors}
\begin{document}
Avatar: The Last Airbender, known as Avatar: The Legend of Aang in some regions, is an American animated television series produced by Nickelodeon Animation Studios. It was co-created by Michael Dante DiMartino and Bryan Konietzko, with \comment[id={Aut1}]{You did a good job! I loved Iroh very much.}{Aaron Ehasz} as head writer. It aired on Nickelodeon for three seasons, from February 2005 to July 2008.[2]
\end{document}
答案1
我可以为您的前两个问题提供解决方案,如果您不使用,第三个问题就不会出现在您的示例中\reversemarginpar
,也许您可以提供另一个示例来展示该问题。
问题 1:设置\marginparwidth
为所需宽度。但不要这样做,而是将页面布局(包括边距)调整为令人满意的布局。
问题2:使用\setcommentmarkup
,将示例简化为您喜欢的内容。
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[authormarkupposition=left,authormarkuptext=name]{changes}
\definechangesauthor[name={Daniel Wombosi}, color=blue]{Aut1}
% question 1
% don't do that, alter the geometry of your page layout accordingly
\setlength{\marginparwidth}{40mm}
% question 2
\setcommentmarkup{%
\IfIsColored%
{\colorlet{Changes@todocolor}{authorcolor}}%
{\colorlet{Changes@todocolor}{black}}%
\todo[color=Changes@todocolor!10, bordercolor=Changes@todocolor, linecolor=Changes@todocolor!70, nolist]{%
\textbf{[#3]} #1%
}%
}
% question 3: don't use reversemarginpar and all comments are on the right
%\reversemarginpar
\begin{document}
Avatar: The Last Airbender, known as Avatar: The Legend of Aang in some regions, is an American animated television series produced by Nickelodeon Animation Studios. It was co-created by Michael Dante DiMartino and Bryan Konietzko, with \comment[id={Aut1}]{You did a good job! I loved Iroh very much.}{Aaron Ehasz} as head writer. It aired on Nickelodeon for three seasons, from February 2005 to July 2008.[2]
\clearpage
Avatar: The Last Airbender, known as Avatar: The Legend of Aang in some regions, is an American animated television series produced by Nickelodeon Animation Studios. It was co-created by Michael Dante DiMartino and Bryan Konietzko, with \comment[id={Aut1}]{You did a good job! I loved Iroh very much.}{Aaron Ehasz} as head writer. It aired on Nickelodeon for three seasons, from February 2005 to July 2008.[2]
\end{document}