1 #(ly:set-option 'old-relative)
4 %% I don't know what this example is supposed to do. delete it?
5 %% It shows how to use the autochange feature together with an extra
6 %% voice. When I needed to typeset this example, I found it not trivial
7 %% and dumped a piece of it here. Move to refman?
10 texidoc="When using automatic staff changes for the one voice, the
11 other voice must be given a name explicitely."
19 melody = \notes\relative c''{
22 r4 a'8-- \< a-- a-- a-- c-- b\!-- a-\> gis f e\!
23 es8 \grace b c r4 r2 r
26 basloopje = \notes\relative c{
27 d,8( a' d f a d f d a f d a)
30 accompany = \repeat unfold 4 \notes \relative c \basloopje
33 \notes \context PianoStaff<<
44 \autochange Staff \context Voice \accompany
51 autoBeamSettings \override #'(end * * * *)
52 = #(ly:make-moment 1 2)