]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/property-unset.ly
Doc-es: various updates.
[lilypond.git] / input / regression / property-unset.ly
1 \version "2.16.0"
2
3 \header{
4
5   texidoc= "@code{\\unset} should be able to unset the
6 @samp{DrumStaff}-specific @samp{clefGlyph} equally well as layout
7 instruction, in a context definition, or as context modification.  All
8 systems here should revert to the @samp{Score}-level violin clef."
9
10 }
11
12 \layout { ragged-right = ##t }
13 \score {
14   \new DrumStaff {
15     \unset DrumStaff.clefGlyph
16     \mark "layout instruction"
17     c c c c
18   }
19 }
20
21 \score {
22   \new DrumStaff {
23     \mark "context def"
24     c c c c
25   }
26   \layout { \context { \DrumStaff \unset clefGlyph } }
27 }
28
29 \score {
30   \new DrumStaff \with { \unset clefGlyph } {
31     \mark "context mod"
32     c c c c
33   }
34 }