I'm trying to typeset a poem to look like this:
The first line of first stanza
The second line of first stanza
The third line of first stanza
The first line of second stanza
The second line of second stanza
The third line of second stanza
The fourth line of second stanza
The first line of third stanza
The second line of third stanza
The first line of fourth stanza
The second line of fourth stanza
For this I'm using verse
package which allows such indentation by using \indentpattern
and specifying the number of lines in each stanza to be indented. The problem in my case however is that many stanzas have different number of lines so I would end up with ridiculous patterns like \indentpattern{00011110011...}
. What I'm looking for is something like altverse
environment, only for stanzas. If someone could suggest how to make one I would be very grateful.
Minimal working example:
\documentclass{scrartcl}
\usepackage{fontspec}
\setmainfont{CMU Serif}
\usepackage{verse}
\begin{document}
\settowidth{\versewidth}{The first line of first stanza}
\poemtitle{Some Glorious Poem}
\begin{verse}[\versewidth]
The first line of first stanza\\
The second line of first stanza\\
The third line of first stanza
The first line of second stanza\\
The second line of second stanza\\
The third line of second stanza\\
The fourth line of second stanza
The first line of third stanza\\
The second line of third stanza
The first line of fourth stanza\\
The second line of fourth stanza
\end{verse}
\end{document}
The output it produces: