You are right, it seems weird.
If you check your property-init.ly file you'll find these definitions:

stemUp = \override Stem.direction = #UP
stemDown = \override Stem.direction = #DOWN
stemNeutral = \revert Stem.direction

But I don't know what's happening here.

Il giorno gio 13 set 2018 alle 7:13, Edward Neeman <edward.nee...@gmail.com> ha scritto:
Thanks for the reply.

I still don’t understand why two \stemNeutral commands work differently to just one. Take out one of them in this example and it looks different:

%%%

\version "2.19.82"

\relative {
g' % default is \stemUp
\stemUp <g bes d>8 r8
\acciaccatura { \stemDown <ges' bes>8 } \stemUp <c e g!> r
% \stemNeutral resets to default, that is \stemUp
\stemNeutral
\stemNeutral % this duplicate command is necessary
c,16
es ges bes
}

%%%

Thanks,
Edward

---
Dr. Edward Neeman
www.neemanpianoduo.com



On 13 Sep 2018, at 2:52 pm, Federico Bruni <f...@inventati.org> wrote:



Il giorno gio 13 set 2018 alle 5:08, Edward Neeman <edward.nee...@gmail.com> ha scritto:
 Hello,
I´ve come across some weird behaviour from the \stemNeutral command. This doesn´t work:
 %%%%
 \version "2.19.82"
 \relative {  \stemUp <g' bes d>8) r8
     \acciaccatura { \stemDown <ges' bes>8 } \stemUp <c e g!> r
    \stemNeutral c,16 es ges bes }
 %%%
Adding a second \stemNeutral command is necessary to reset the stems to normal. Why might this be?
 Thanks,
 Edward

It works as expected, because the default direction in this case is \stemUp.
 Try this snippet:

 \version "2.19.82"

 \relative {
 g' % default is \stemUp
 \stemUp <g bes d>8 r8
 \acciaccatura { \stemDown <ges' bes>8 } \stemUp <c e g!> r
 % \stemNeutral resets to default, that is \stemUp
 \stemNeutral c,16
 es ges bes
 }







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

Reply via email to