lilypond-user
[Top][All Lists]
Advanced

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

Re: stemNeutral problem


From: Federico Bruni
Subject: Re: stemNeutral problem
Date: Thu, 13 Sep 2018 07:30:44 +0200

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 <address@hidden> 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 <address@hidden> wrote:



Il giorno gio 13 set 2018 alle 5:08, Edward Neeman <address@hidden> 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
 }









reply via email to

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