Browse Source

Proposition of support for verse without lyrics

pull/105/head
Oliverpool 9 years ago
parent
commit
32a0065ef2
  1. 5
      patacrep/songs/chordpro/data/latex/content_verse
  2. 12
      test/test_chordpro/nolyrics.tex

5
patacrep/songs/chordpro/data/latex/content_verse

@ -1,8 +1,11 @@
(*- if content.nolyrics -*)
TODO NOLYRICS
\begin{verse*}
\musicnote{\nolyrics
(* for line in content.lines *)
(( render(line) ))
(* endfor *)
}
\end{verse*}
(*- else *)
\begin{(( content.type ))}
(* for line in content.lines *)

12
test/test_chordpro/nolyrics.tex

@ -12,15 +12,19 @@
\end{verse}
TODO NOLYRICS
\begin{verse*}
\musicnote{\nolyrics
\[A B#]
}
\end{verse*}
TODO NOLYRICS
\begin{verse*}
\musicnote{\nolyrics
\[A] \[B]
\[C]
}
\end{verse*}
\begin{verse}

Loading…
Cancel
Save