Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No separation between multiple line number annotations on the same line #791

Closed
fps-vogel opened this Issue Jan 13, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@fps-vogel
Copy link

fps-vogel commented Jan 13, 2019

Version of reledmac

2.29.0

Description of the problem

Multiple line number annotations on the same line are displayed without any separation between them. In the example below, where a biblical text is typeset with verse numbers in the margins, the first two verses both begin on the first line, so "12" appears in the margin. Is it possible to copy the behavior of sidenotes here, so that a comma and space appear between every annotation ("1, 2")?

Minimal Working Example

\documentclass{article}
\usepackage[total={3in, 4in}]{geometry}
\usepackage[noresetlinenumannotation]{reledmac}
\newcommand{\bv}[1]{\linenumannotation{#1}}
\makeatletter
\Xwraplinenumannotation{\@firstofone}
\renewcommand{\linenumrep}[1]{}
\makeatother
\firstlinenum{1}
\linenumincrement{1}

\begin{document}
  \beginnumbering
  \pstart
    \bv{1}Initium evangelii Iesu Christi, Dei filii.\bv{2} Ut scriptum in vatibus est: “Ego tibi meum praemittam nuntium, qui tibi viam praeparet.\bv{3} Vox clamantis in solitudine: ‘Parate viam Domini! Dirigite semitas eius!’”
  \pend
  \endnumbering
\end{document}
@maieul

This comment has been minimized.

Copy link
Owner

maieul commented Jan 13, 2019

maieul added a commit that referenced this issue Jan 17, 2019

@maieul

This comment has been minimized.

Copy link
Owner

maieul commented Jan 17, 2019

Branch issue791 (which DOES NOT include feature of branche issue790 and issue792) add a comma between annotation.

You can change this separator using \setlinenumannotationsep

@fps-vogel

This comment has been minimized.

Copy link
Author

fps-vogel commented Jan 18, 2019

This solves the problem. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.