X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fproperty-unset.ly;fp=input%2Fregression%2Fproperty-unset.ly;h=8268aa28cf45143e299c5e4ee430f7a61b7c4352;hb=0ac07f31e0f95fc18e5916ce756b9c746af7cc58;hp=0000000000000000000000000000000000000000;hpb=2f1263e2ccdddcac2eb9f7d8ce2ed92867d3d160;p=lilypond.git diff --git a/input/regression/property-unset.ly b/input/regression/property-unset.ly new file mode 100644 index 0000000000..8268aa28cf --- /dev/null +++ b/input/regression/property-unset.ly @@ -0,0 +1,34 @@ +\version "2.16.0" + +\header{ + + texidoc= "@code{\\unset} should be able to unset the +@samp{DrumStaff}-specific @samp{clefGlyph} equally well as layout +instruction, in a context definition, or as context modification. All +systems here should revert to the @samp{Score}-level violin clef." + +} + +\layout { ragged-right = ##t } +\score { + \new DrumStaff { + \unset DrumStaff.clefGlyph + \mark "layout instruction" + c c c c + } +} + +\score { + \new DrumStaff { + \mark "context def" + c c c c + } + \layout { \context { \DrumStaff \unset clefGlyph } } +} + +\score { + \new DrumStaff \with { \unset clefGlyph } { + \mark "context mod" + c c c c + } +}