Browse Source

Remove unwanted space on lyric books when writing only chords

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

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

@ -1,4 +1,5 @@
(*- if content.nolyrics -*) (*- if content.nolyrics -*)
\ifchorded
\begin{verse*} \begin{verse*}
\musicnote{\nolyrics \musicnote{\nolyrics
(* for line in content.lines *) (* for line in content.lines *)
@ -8,6 +9,7 @@
(* endfor *) (* endfor *)
} }
\end{verse*} \end{verse*}
\fi
(*- else *) (*- else *)
\begin{(( content.type ))} \begin{(( content.type ))}
(* for line in content.lines *) (* for line in content.lines *)

4
test/test_chordpro/nolyrics.tex

@ -12,19 +12,23 @@
\end{verse} \end{verse}
\ifchorded
\begin{verse*} \begin{verse*}
\musicnote{\nolyrics \musicnote{\nolyrics
\[A B#] \[A B#]
} }
\end{verse*} \end{verse*}
\fi
\ifchorded
\begin{verse*} \begin{verse*}
\musicnote{\nolyrics \musicnote{\nolyrics
\[A] \[B]\newline \[A] \[B]\newline
\[C] \[C]
} }
\end{verse*} \end{verse*}
\fi
\begin{verse} \begin{verse}

Loading…
Cancel
Save