当诗歌被分为多个小节时,我对诗节编号的转变感到困惑。
看来第一节的最后一节不算数。
\documentclass{article}
\usepackage{verse}
\verselinenumbersleft
\poemlines{2}
\setlength{\vrightskip}{-3em}
\begin{document}
\poemtitle{Garden}
\begin{verse}
I used to love my garden \\
But now my love is dead \\
For I found a bachelor's button \\
In black-eyed Susan's bed.
I used to love my garden \\
But now my love is dead \\
For I found a bachelor's button \\
In black-eyed Susan's bed.
\end{verse}
\end{document}
答案1
计数不喜欢空行。在verse
环境中,我建议使用\\!
-command 来标记新节。即使是最后一行,这也没什么意义……您仍然可以在中间使用空行。或者您可以用一些空行来标记%%%%%%%%
以获得更好的语法。
% arara: pdflatex
\documentclass{article}
\usepackage{verse}
\usepackage{blindtext}
\begin{document}
\verselinenumbersleft
\setlength{\vrightskip}{-3em}
\poemtitle{Garden}
\poemlines{2}
\begin{verse}
I used to love my garden \\
But now my love is dead \\
For I found a bachelor's button \\
In black-eyed Susan's bed.\\!
I used to love my garden \\
But now my love is dead \\
For I found a bachelor's button \\
In black-eyed Susan's bed.\\!
\end{verse}
\blindtext
\end{document}