tweh / metrix

A LaTeX package to typset prosodic/metric symbols above verses.
7 stars 1 forks source link

Line numbering #21

Closed niru86 closed 3 years ago

niru86 commented 3 years ago

Hi, it would be great to have line numbering like in the verse package

tweh commented 3 years ago

I’d say there is no need to implement this in metrix.sty since you can use the metrix macros in {verse}

\documentclass{article}

\usepackage{metrix,verse,setspace}

\begin{document}
\begin{verse}
\doublespacing
\poemlines{1}
    \metrics{_    u  u  _   _  _  | _    _  u  u   _  _   _   }
            {flos ve-te-ris vi-ni | meis na-ri-bus ob-iec-tust}\\
    \metrics{_  u  u _   u  u  _   |  _             _   u  u
                                                        _   u  u  _   }
            {ei-us a-mor cu-pi-dam | {m\bow{e h}uc} pro-li-cit
                                                        per te-ne-bras}\\!
\end{verse}
\end{document}

(I’ll close the issue but let me know if you see an advantage in having this in metrix itself …)