Browse Source

Add newline support in nolyrics environments

pull/110/head
Oliverpool 9 years ago
parent
commit
9585f071ac
  1. 2
      patacrep/songs/chordpro/data/latex/content_verse
  2. 2
      test/test_chordpro/nolyrics.tex

2
patacrep/songs/chordpro/data/latex/content_verse

@ -3,6 +3,8 @@
\musicnote{\nolyrics \musicnote{\nolyrics
(* for line in content.lines *) (* for line in content.lines *)
(( render(line) )) (( render(line) ))
(*- if not loop.last *)\newline(* endif *)
(* endfor *) (* endfor *)
} }
\end{verse*} \end{verse*}

2
test/test_chordpro/nolyrics.tex

@ -21,7 +21,7 @@
\begin{verse*} \begin{verse*}
\musicnote{\nolyrics \musicnote{\nolyrics
\[A] \[B] \[A] \[B]\newline
\[C] \[C]
} }
\end{verse*} \end{verse*}

Loading…
Cancel
Save