stemUp is ignored - why?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

stemUp is ignored - why?

Bugzilla from tvalusek@seznam.cz
Hello,

In the following code, \stemUp is ignored, and I don't know why. Can
anyone help me? Thank you.

Tomas Valusek

% Begin code
\version "2.8.1"
\relative c' {
\clef treble
\key c \major
\time 4/4

<<
{
f2 g
r2 \stemUp f \stemNeutral
} \\
{
es4( des) f( e!)
<<
{
c2 ~ \stemDown <c a>
} \\
{
bes4( a ~ \hideNotes a2) \unHideNotes
}
 >>
}
 >>
}

  \layout { ragged-right=##t }


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: stemUp is ignored - why?

Nicolas Sceaux
Tomas Valusek <[hidden email]> writes:

> Hello,
>
> In the following code, \stemUp is ignored, and I don't know why. Can
> anyone help me? Thank you.
>
> Tomas Valusek
>
> % Begin code
> \version "2.8.1"
> \relative c' {
> \clef treble
> \key c \major
> \time 4/4
>
> <<
> {
> f2 g
> r2 \stemUp f \stemNeutral
> } \\
> {
> es4( des) f( e!)
> <<
> {
> c2 ~ \stemDown <c a>
> } \\
> {
> bes4( a ~ \hideNotes a2) \unHideNotes
> }
>  >>
> }
>  >>
> }
>
>   \layout { ragged-right=##t }

Please format your code in a readable fashion.
I'm not sure why the f has a down stem, but the following seems to fix
it:

\version "2.8.1"
\relative c' {
  \clef treble
  \key c \major
  \time 4/4
  <<
    \new Voice {
      \voiceOne f2 g | r2 f \stemNeutral
    }
    \new Voice {
      \voiceTwo es4( des) f( e!) | bes4( a ~ \hideNotes a2) \unHideNotes
    }
    \new Voice {
      \voiceThree s1 | c2 ~ \voiceTwo <c a>
    }
  >>
}


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user