X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fautomatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody.ly;h=4f7a59cae65addebc8eb6e75e7f62bbbbded374c;hb=38e5adec458f3ef1c5626022b4fe50e92140c176;hp=a6982aa7fe3a0b89c2b0201f4c7af0d49f37d931;hpb=4ee99b07605942b02e82c6526df98b68cbc03981;p=lilypond.git diff --git a/Documentation/snippets/automatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody.ly b/Documentation/snippets/automatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody.ly index a6982aa7fe..4f7a59cae6 100644 --- a/Documentation/snippets/automatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody.ly +++ b/Documentation/snippets/automatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody.ly @@ -20,15 +20,15 @@ Voice context and overriding the @code{neutral-direction} of Stem. \relative c'' { \time 3/4 - \autoBeamOff a8 b g f b g | - c b d c b c + c b d c b c | } \layout { \context { \Voice \consists "Melody_engraver" + \autoBeamOff \override Stem.neutral-direction = #'() } }