]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/automatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / automatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody.ly
index a6982aa7fe3a0b89c2b0201f4c7af0d49f37d931..4f830f0c8e52a63aed34b6e339c9039beedccaf0 100644 (file)
@@ -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"
-    \override Stem.neutral-direction = #'()
+    \autoBeamOff
+    \stemNeutral
   }
 }