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 -*) (*- if content.nolyrics -*)
TODO NOLYRICS \begin{verse*}
\musicnote{\nolyrics
(* for line in content.lines *) (* for line in content.lines *)
(( render(line) )) (( render(line) ))
(* endfor *) (* endfor *)
}
\end{verse*}
(*- else *) (*- else *)
\begin{(( content.type ))} \begin{(( content.type ))}
(* for line in content.lines *) (* for line in content.lines *)

12
test/test_chordpro/nolyrics.tex

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

Loading…
Cancel
Save