From: David Kastrup Date: Mon, 31 Dec 2012 13:11:32 +0000 (+0100) Subject: Add property-unset regtest X-Git-Tag: release/2.17.10-1~22 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1928cdeeadb0a85be8693bf21fa870efa6d20693;p=lilypond.git Add property-unset regtest --- 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 + } +}