Browse Source

Proposition of support for verse without lyrics

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

11
patacrep/songs/chordpro/data/latex/content_verse

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

22
test/test_chordpro/nolyrics.tex

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

Loading…
Cancel
Save