]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/autochange-clefs.ly
Let \autochange accept optional arguments for the turning-point and clefs
[lilypond.git] / input / regression / autochange-clefs.ly
1
2 \version "2.19.25"
3
4 \header {
5   texidoc=" Other clefs for the autochanger may be set.  This works for
6 implicitly created staves only.
7 The first example should turn at b with soprano-clef in the upper Staff.
8 The second example should turn at d' with alto-clef in the upper and tenor-clef
9 in the lower Staff.
10 "
11 }
12
13 \layout { ragged-right= ##t }
14
15 music = {
16   g8 b a c'
17   b8 d' c'8 e'
18   d'8 r f' g' a'2
19 }
20
21 \autochange b \with { \clef soprano } \music
22 \autochange d' \with { \clef alto } \with { \clef tenor } \music