区分 eledpar 列中的注释

区分 eledpar 列中的注释

eledpar我正在尝试在环境中使用\Columns。我有两部分文本,它们包含注释。是否有可能使用和 R 作为行号打印右侧注释的行号?到目前为止,我正在尝试宏:

\let\oldBfootfmt\Bfootfmt

\renewcommand{\Bfootfmt}[3]{%

\let\printlines\printlinesR

\oldBfootfmt{#1}{#2}{#3}}

但这会将 R 添加到所有注释中。

有没有办法只在右侧添加这个?

以下是 MWE:

\documentclass[a4paper,10.5pt,twoside,openwright,makeidx,final,oldfontcommands]{memoir}

\usepackage[T1]{fontenc}
\usepackage{eledmac}
\usepackage[shiftedpstarts]{eledpar}
\usepackage[french,polutonikogreek,english,italian,german,latin]{babel}


\footparagraph{B}
\addtolength{\skip\Bfootins}{1.5mm} 
\nonbreakableafternumber[B] 
\begin{document}
\thispagestyle{empty}
\Columns
\begin{pairs}
\begin{Leftside}
\linenummargin{left}
\beginnumbering
\begin{center}
\pstart
$\alpha{}$
\vspace{1cm}
\pend
\end{center}
\pstart
\noindent
\edtext{Lorem ipsum}{\lemma{left Lorem}\Bfootnote{lorem ipsum footnote on the left column}} dolor sit amet, consectetur adipiscing elit. 
\pend
\pstart
Mauris non metus urna. Nam id est sit amet odio fermentum tempus. 
\pend
\endnumbering
\end{Leftside}

\begin{Rightside}
\beginnumberingR
\begin{center}
\pstart
$\beta{}$
\vspace{1cm}
\pend
\end{center}
\pstart
\noindent
\edtext{Lorem ipsum}{\lemma{right lorem}\Bfootnote{lorem ipsum footnote on the right column}} dolor sit amet, consectetur adipiscing elit. 
\pend
\pstart
Mauris non metus urna. Nam id est sit amet odio fermentum tempus. 
\pend
\endnumberingR
\end{Rightside}
\end{pairs}
\Columns
\end{document}

它创建了两个脚注,一个用于链接到第 2 行的右列,另一个用于链接到应显示 2R 的右列。但仍然是简单的 2。

答案1

reledmac 2.5.0 版本提供了两个新的钩子来在注释中添加行标志:

  • \Xlineflag 用于关键脚注
  • \Xendlineflag 用于关键尾注

您可以按照以下 MWE 的方式使用它们:

\documentclass[a4paper,10.5pt,twoside,openwright,makeidx,final,oldfontcommands]{memoir}

\usepackage[T1]{fontenc}
\usepackage{reledmac}
\usepackage[shiftedpstarts]{reledpar}
\usepackage[french,polutonikogreek,english,italian,german,latin]{babel}
\Xlineflag
\Xendlineflag

\begin{document}
\thispagestyle{empty}
\Columns
\begin{pairs}
\begin{Leftside}
\linenummargin{left}
\beginnumbering
\pstart
\noindent
\edtext{Lorem ipsum}{\lemma{left Lorem}\Bendnote{Left}\Bfootnote{lorem ipsum footnote on the left column}} dolor sit amet, consectetur adipiscing elit. 
\pend
\pstart
Mauris non metus urna. Nam id est sit amet odio fermentum tempus. 
\pend
\endnumbering
\end{Leftside}

\begin{Rightside}
\beginnumbering
\pstart
\noindent
\edtext{Lorem ipsum}{\lemma{right lorem}\Bendnote{Right}\Bfootnote{lorem ipsum footnote on the right column}} dolor sit amet, consectetur adipiscing elit. 
\pend
\pstart
Mauris non metus urna. Nam id est sit amet odio fermentum tempus. 
\pend
\endnumbering
\end{Rightside}
\end{pairs}
\Columns
\doendnotes{B}
\end{document}

该版本已于2015/11/13发送至CTAN。

相关内容