bug-lilypond
[Top][All Lists]
Advanced

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

Re: alignAboveContext shifts lyrics by one note


From: James Bailey
Subject: Re: alignAboveContext shifts lyrics by one note
Date: Wed, 17 Feb 2010 18:06:47 +0100

It appears that the alignAboveContext placement is important here.

If you do: \new Lyrics \with {alignAboveContext = staff1} or \new Lyrics \lyricsto voice1 \lyricmode { \set alignAboveContext = staff1 …} then the problem is not apparent.

On 17.02.2010, at 14:06, -Eluze wrote:


\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.



_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond





reply via email to

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