bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple stanzas: chord symbols collide with staff


From: pls
Subject: multiple stanzas: chord symbols collide with staff
Date: Fri, 3 Feb 2012 13:39:09 +0100

Hey all,

this is a weird one! Chord symbols collide with the staff when the score 
contains more than one stanza/verse. For some reason the effect only shows up 
after the first line break. It doesn't matter whether it's a manual or 
automatic break. Even stranger: there is no collision after the second \break. 
In some scores the chord symbols only collide when there are three or more 
stanzas/verses.

HTH
patrick

\version "2.15.27"

chordSymbols = \chordmode { 
  a2 a2 |%1 
  b2 b2 |%2
  c2 c2 |%3 
 }

melody = {
  c''2 c''2 |%1
  \break
  c''2 c''2 |%2
  \break
  c''2 c''2 |%1
}

verseOne = \lyricmode {
  \set stanza = "1."
  bla bla 
  bla bla 
  bla bla 
}

verseTwo = \lyricmode {
  \set stanza = "2."
  ble ble 
  ble ble 
  ble ble
}

verseThree = \lyricmode {
  \set stanza = "3."
  bli bli 
  bli bli 
  bli bli
}

verseFour = \lyricmode {
  \set stanza = "4."
  blo blo 
  blo blo 
  blo blo
}

\score {
  <<
  \new ChordNames { \chordSymbols  }
  \new Staff <<
    \new Voice = "melody" {
        \melody
    }
    >>
    \new Lyrics \lyricsto "melody" { \verseOne }
    \new Lyrics \lyricsto "melody" { \verseTwo }
    %\new Lyrics \lyricsto "melody" { \verseThree }
    %\new Lyrics \lyricsto "melody" { \verseFour }
  >>
}

PNG image

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]