X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fclef-transposition-visibility.ly;fp=input%2Fregression%2Fclef-transposition-visibility.ly;h=ab82c493b1f193361490150af5b6424ca4a7d226;hb=0ac07f31e0f95fc18e5916ce756b9c746af7cc58;hp=0000000000000000000000000000000000000000;hpb=2f1263e2ccdddcac2eb9f7d8ce2ed92867d3d160;p=lilypond.git diff --git a/input/regression/clef-transposition-visibility.ly b/input/regression/clef-transposition-visibility.ly new file mode 100644 index 0000000000..ab82c493b1 --- /dev/null +++ b/input/regression/clef-transposition-visibility.ly @@ -0,0 +1,28 @@ +\version "2.17.18" + +\header { + + texidoc = "Clefs may be transposed. By default, break-visibility +of ClefModifiers is derived from the associated clef, but it may +be overridden explicitly. The initial treble_8 clef should not have an +8, while the treble_8 clef after the tenor clef should. +These settings also need to apply to clefs on new lines." + +} +\layout { ragged-right = ##t } + + +\relative c' { + \override Staff.ClefModifier.break-visibility = #all-invisible + + \clef "treble_8" + c2 c | + c c | \break + c \clef "tenor" c | + \revert Staff.ClefModifier.break-visibility + \clef "treble_8" + c2 c | + c c | \break + c c +} +