Try to use \voiceOne instead of \stemUp and \voiceTwo
instead of \stemDown. It specifies the direction not only
on stems but also on a number of other things like slurs,
ties, rests, ...
/Mats
Brett Duncan wrote:
Hi
When I used the \change Staff command in a piano arrangement I'm
working on, I found it necessary to force the stem directions to avoid
column clashes. No problem. However, I've found that if both parts
have a rest at the same moment, I get error messages like this...
warning: can't resolve rest collision: rest direction not set
...and a single rest appears rather than two rests (one above the other).
The following snippet shows the problem:
---------------------------------------
staffPiano = \new PianoStaff {
\time 4/4
<<
\context Staff = "RH" {
\clef treble
\relative c' {
c'1
\stemUp
b4 g r4 b
}
}
\context Staff = "LH" {
\clef bass
\relative c {
c'1
\change Staff = "RH"
\stemDown
b4 g r4 b
}
}
>>
}
---------------------------------------
Brett
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond
--
=============================================
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