1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "contexts-and-engravers, pitches"
13 LilyPond can alter the stem direction of the middle note on a staff so
14 that it follows the melody, by adding the @code{Melody_engraver} to the
15 Voice context and overriding the @code{neutral-direction} of Stem.
18 doctitle = "Automatically changing the stem direction of the middle note based on the melody"
30 \consists "Melody_engraver"
32 \override Stem.neutral-direction = #'()