bug-lilypond
[Top][All Lists]
Advanced

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

Re: Wrong stem direction when combining cross-staff and multiple voice n


From: Marek Klein
Subject: Re: Wrong stem direction when combining cross-staff and multiple voice notation
Date: Thu, 31 May 2012 12:47:55 +0200

Hello,

2012/5/31 Torbjörn Björkman <address@hidden>

> When I let a voice cross over to the another staff I suddenly can't specify
> the
> stem direction iff there are multiple voices in the staff I cross over to.
> Trying to set \voiceOne has the same lack of effect.
> I don't know if this is a bug or if there is some subtlety with the rules
> for
> multiple voices that I am unaware of, but it is unexpected and I can't make
> it
> be the way I need.
>
> It works, if you explicitly create voices as advised in Notation reference:
http://lilypond.org/doc/v2.14/Documentation/notation/multiple-voices

In all but the simplest works it is advisable to create explicit
Voicecontexts as explained in Contexts
> and 
> engravers<http://lilypond.org/doc/v2.14/Documentation/learning/contexts-and-engravers>and
>  Explicitly
> instantiating 
> voices<http://lilypond.org/doc/v2.14/Documentation/learning/explicitly-instantiating-voices>.
>


\version "2.14.2"


\new PianoStaff <<
\new Staff = "RH" \relative c'' {
 <<
{c b a g f}\\
{\change Staff = "LH" \stemUp f, g a b c}
% crossing the lower voice to staff with multiple empty voices below
 >>
}
\new Staff = "LH" \relative c {
\clef bass
 <<
\voiceOne {s1 s4}
\new Voice \voiceTwo {s1 s4}
 >>
}
 >>

HTH
Marek,
bug squad member


reply via email to

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