From 1928cdeeadb0a85be8693bf21fa870efa6d20693 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Mon, 31 Dec 2012 14:11:32 +0100 Subject: [PATCH] Add property-unset regtest --- input/regression/property-unset.ly | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 input/regression/property-unset.ly 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 + } +} -- 2.39.2