在双面模式下并行书写文本

在双面模式下并行书写文本

用例:我想编写一份双面文档,右侧写散文,左侧写旁注,并且(如果可能的话)注释与散文中的标签平行对齐。

我可以使用 paracols 包来实现这一点,将所有文本放在一页上。但我不知道如何将其布局到两页上。

近似 MWE:

\documentclass[a4paper]{article}
\usepackage[landscape]{geometry}
\usepackage{paracol}
\usepackage{lipsum}

\begin{document}
\begin{paracol}{2}
\switchcolumn
  \lipsum[1]
\switchcolumn*
  \textbf{prose}: The long and boring part of a document.
\switchcolumn
This constitutes a long and verbose set of \textbf{prose}.
\switchcolumn*
\switchcolumn
\lipsum[1]
\switchcolumn*
\switchcolumn

\end{paracol}
\end{document}

姆韦

因此,如您所见,对于正面页面上的每个参考资料(目前只是普通的粗体文本),我想在反面页面上的相应行中添加详细信息。有没有办法引用“对面页面上的相应行”?有各种边缘情况,例如“如果同一行有两个参考资料怎么办”或“如果页面放不下怎么办”,但我想这些都不难处理。

答案1

我仍然不太清楚你真正期望的是什么。以下是我的想法。使用待办事项并将您的定义放在页面左侧(通过放入\reversemarginpar序言或如果您愿意,可以将它们放在右侧)。两个注释彼此靠近不是问题。唯一的问题是注释太长,超出了底部边距甚至整个纸张。我能想到的唯一解决方法是每次遇到这种情况时\normalmarginpar都使用。\newpage

\documentclass[a4paper]{article}
\usepackage[backgroundcolor = none,
            %linecolor= none,                   % Removes the line
            %bordercolor= none,                 % Removes the border
            bordercolor=red]{todonotes}
\usepackage[landscape]{geometry}
\usepackage{xcolor}
\usepackage{lipsum}


% Can change the width of the note
\geometry{lmargin = 2in, marginparwidth = 1in}  % lmargin should be +1 inch larger than marginparwidth

%\normalmarginpar                               % Used to place the marign on the right side.
\reversemarginpar                               % Used to place the marign on the left side.
\begin{document}
\lipsum[1]. Now I will add a note here \todo{First note has been added!}.
Here is the second note: \todo{Second note is added, note (pun intended) that both 
notes are very close and \textit{should} overlap but this has been taken care of.}
\lipsum[2-4] A third note has been added.\todo{Third note is added here!!} 
Now, continue to the next paragraph.\lipsum[5] 
\todo{Third note is added and it needs to be very very very very very very very 
very very very very very very very very very very very very very very very very 
very very very very very very very very very very very very very very long}\lipsum[6]
\end{document}

在此处输入图片描述

\newpage如果您在插入注释之前使用,即

... Now, continue to the next paragraph.\newpage \lipsum[5] \todo{Third note is added and it needs to be very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long}\lipsum[6]

你必须遵循:

在此处输入图片描述

相关内容