[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
alignAboveContext problems together with \lyricsto
From: |
Mats Bengtsson |
Subject: |
alignAboveContext problems together with \lyricsto |
Date: |
Thu, 09 Feb 2006 17:01:57 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
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: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
- alignAboveContext problems together with \lyricsto,
Mats Bengtsson <=