I'm trying to achieve something like this layout, a Bible text with verse numbers in the margins:
In addition, I need footnotes linked to the verse numbers. I'm trying to make that work in reledmac, setting line numbers to reflect the verses:
\documentclass{article}
\usepackage[total={2.5in, 2.7in}]{geometry}
\usepackage{polyglossia,fontspec,xunicode}
\usepackage{libertine}
\usepackage[series={A},noend,noeledsec,nofamiliar,noledgroup]{reledmac}
\begin{document}
\firstlinenum{1}
\linenumincrement{1}
\beginnumbering
\pstart
\setline{4}Baptizabat Ioannes in solitudine, et emendationis vitae baptisma publicabat ad peccatorum veniam,\setline{5} ad eumque proficiscebatur tota Iudaea regio ac Hierosolymitani, et ab eo baptizabantur omnes in Iordane fluvio, confitentes peccata sua.\setline{6} Erat autem Ioannes indutus camelinis pilis, lateribus pelliceo cingulo cinctis, vescebaturque locustis et \edtext{melle silvestri}{\Afootnote{quod mel Ioannes non in horto vel apiario colebat, sed in locis desertis inveniebat.}},\setline{7} atque huiusmodi verbis publice docebat: “Venit quidam post me, adeo me praestantior, ut ego non sim dignus qui eius calceorum corrigiam pronus solvam.\setline{8} Ego quidem vos aqua baptizavi, at is vos sancto Spiritu baptizabit.”
\pend
\endnumbering
\end{document}
The one step that I can't figure out is to show the "line" (verse) numbers only on the lines where a new verse begins, so that subsequent lines of the same verse don't display the next verse number:
If this is impossible, there are two other methods I can think of:
- Use
\hidenumbering
within the text of every line that shouldn't show a new verse number. But this is cumbersome, and changing the text or layout would mess it up. - Better: instead of line numbers, use a
\marginnote
for each verse number. But this would require setting\linenum
manually for each footnote. Not a lot of extra work, but it seems like working around reledmac in a way that I'm not sure is necessary.
So, is there a way to auto-hide all line numbers except on lines with \setline
or some other command?