lilypond-user
[Top][All Lists]
Advanced

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

Re: stem comflict


From: Trevor Daniels
Subject: Re: stem comflict
Date: Sat, 27 Sep 2014 23:39:38 +0100


Mark
 
There there several long-standing and tricky-to-fix problems concerning grace notes; your example trips over one of them.  See
https://code.google.com/p/lilypond/issues/detail?id=630
 
Pierre suggestion to explicitly specify the voice is a work-around for your particular case.
 
Trevor
 
----- Original Message -----
Sent: Saturday, September 27, 2014 5:20 PM
Subject: RE: stem comflict

Pierre,

 

Thank you for the two solutions. The first suits my “thinking” better

My assumption (incorrect?) was that in the << \\ >> context the first { } was voice one and therefore stem up, and the second { } was voice two and therefore stem down.

Is this not always the case?

 

Mark

 

From: Pierre Perol-Schneider [mailto:address@hidden
Sent: Saturday, September 27, 2014 12:15 AM
To: Mark Stephen Mrotek
Cc: lilypond-user
Subject: Re: stem comflict

 

Hi Mark,

 

2014-09-26 22:40 GMT+02:00 Mark Stephen Mrotek <address@hidden>:

 

What must I do to get the upper version have the same stem alignment as the lower? 

 

Try :

\version "2.18.0"

\relative c' {
  \time 2/4
  <<
    \stemUp
    {
      \grace b''8( e,4. ) a8 |
      \grace a8( gis4\trill ) gis8 r
    }
    \\
    \stemDown
    {
      d4 c | b2
    }
  >>
}

or :

\version "2.18.0"

\relative c' {
  \time 2/4
  <<
    \voiceOne
    {
      \grace b''8( e,4. ) a8 |
      \grace a8( gis4\trill ) gis8 r
    }
    \\
    \voiceTwo
    {
      d4 c | b2
    }
  >>
}

HTH,
Pierre

 


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

reply via email to

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