TL;DR 我不想单独对翻译的行进行编号,而是想用它们翻译的原始语言诗句的行范围来标记每个翻译段落。
reledmac/reledpar 似乎没有办法做到这一点。我可以每次手动更改右侧的行号,但我认为我不能传递“5-8”形式的字符串而不是 int。
我还尝试在右侧使用\numberpstarttrue
和来获取每个 pstart 标签,但在尝试将范围传递给时,我遇到了相同的字符串与 int 问题。也许我可以用行号注释做些什么?但我不确定如何让它只影响右侧。\sidepstartnumtrue
\setcounter{pstart}{value}
我对这些软件包还比较陌生,所以我可能只是忽略了一些非常明显的东西。在 reledmac/reledpar 中是否有内置方法可以做到这一点?即使没有内置或优雅的方法,是否有一种强力方法可以完成它(例如手动输入每个段落)?
这是一个 MWE,尽管实现的很少,因为我不知道从哪里开始:
\documentclass[12pt,a4paper,twoside]{scrbook}
\usepackage{reledmac}
\usepackage[]{reledpar}
% Set stanza indents
\setstanzaindents{8,5,6}
\setcounter{stanzaindentsrepetition}{2}
\begin{document}
\large
\begin{pages}
\begin{Leftside}
\beginnumbering
\begin{astanza}
verse verse verse 1!&
verse verse verse 2!&
verse verse verse 3!&
verse verse verse 4!\&
\end{astanza}
\begin{astanza}
verse verse verse 5!&
verse verse verse 6!&
verse verse verse 7!&
verse verse verse 8!\&
\end{astanza}
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
This is a translation paragraph. Still just a translation paragraph. Still just a translation paragraph. There is nothing interesting in here, please move on. \textit{I would like "1-4" in the right margin in the same style as the left-side line numbers here.}
\pend
\pstart
This is a translation paragraph. Still just a translation paragraph. Still just a translation paragraph. There is nothing interesting in here, please move on. \textit{I would like "5-8" in the right margin in the same style as the left-side line numbers here.}
\pend
\endnumbering
\end{Rightside}
\end{pages}
\Pages
\end{document}
答案1
当你使用诗句时,左侧的行号是固定的。因此,你可以简单地\ledsidenote
在右侧使用。