bug-lilypond
[Top][All Lists]
Advanced

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

alignAboveContext shifts lyrics by one note


From: -Eluze
Subject: alignAboveContext shifts lyrics by one note
Date: Wed, 17 Feb 2010 05:06:25 -0800 (PST)

\version "2.13.13"
\context Staff = "staff1" {
  <<
    \context Voice = "voice1" { c'' 4 d'' 8  c'' 4 d'' }
    \context Lyrics ="lyrics1" {
        \set alignAboveContext = #"staff1"
        \lyricsto "voice1" \lyricmode { c d c d }
    }
  >>
}

this code causes the lyric text to start to late.

by forcing a simultaneous event this can be corrected:

\context Staff = "staff1" {
  <<
    \context Voice = "voice1" { c'' 4 d'' 8  c'' 4 d'' }
    \context Lyrics ="lyrics1" {
      \simultaneous {                                     % << 
        \lyricsto "voice1" \lyricmode { c d c d }
        \set alignAboveContext = #"staff1"         % even after the text!
      }                                                        % >>
    }
  >>
}

another workaround is to put alignAboveContext in the \with settings

imo the documentation should mention that alignAboveContext does *not*
behave like alignBelowContext!
-- 
View this message in context: 
http://old.nabble.com/alignAboveContext-shifts-lyrics-by-one-note-tp27623363p27623363.html
Sent from the Gnu - Lilypond - Bugs mailing list archive at Nabble.com.





reply via email to

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