Hi,
I just realized that there is a problem with setting alignAboveContext
within a lyrics context if the corresponding lyrics doesn't start at the
top of the score. Example:
\version "2.6.0"
\score{
<<
\context Staff = mystave <<
\context Voice = "melody" {
\relative c' { c
<< {\voiceOne c'} \context Voice = splitpart {\voiceTwo c,8 e} >>
}
}
\context Voice = splitpart {s1 * 2} % Doesn't help!
>>
\new Lyrics \lyricsto "melody" { \set alignAboveContext = #"mystave"
Text above }
\new Lyrics \lyricsto "splitpart" { \set alignAboveContext = #"mystave"
not above }
>>
}
The problem is that also the \set directive seems to happen at the same
place as the
first syllable, which is too late. A workaround, of course, is to use \with:
\version "2.6.0"
\score{
<<
\context Staff = mystave <<
\context Voice = "melody" {
\relative c' { c
<< {\voiceOne c'} \context Voice = splitpart {\voiceTwo c,8 e} >>
}
}
\context Voice = splitpart {s1 * 2} % Doesn't help!
>>
\new Lyrics \with {alignAboveContext = #"mystave" } \lyricsto "melody"
{ Text above }
\new Lyrics \with {alignAboveContext = #"mystave" } \lyricsto
"splitpart" { also above }
>>
}
The problem is the same in version 2.6 and 2.7.
/Mats
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond