X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Finstrument-name-hara-kiri.ly;h=7e6db4ac3b2b132138e9033b5e8a83fef43cff5b;hb=8cf69a467ad7650f5ca9da6fe2dfd4c7c088b239;hp=ffe99e696e03dfcb08e8d5e1ec2e7f840acb0688;hpb=2205ef7a616d73e6a83274816e775426bf41b7bd;p=lilypond.git diff --git a/input/regression/instrument-name-hara-kiri.ly b/input/regression/instrument-name-hara-kiri.ly index ffe99e696e..7e6db4ac3b 100644 --- a/input/regression/instrument-name-hara-kiri.ly +++ b/input/regression/instrument-name-hara-kiri.ly @@ -1,21 +1,18 @@ +\version "2.17.6" \header { + texidoc = "Instrument names are removed when the staves are +killed off. - texidoc = "@code{PianoStaff.instrument} and -@code{PianoStaff.instr} are removed when the staves are killed off. - -In this example, the 2nd staff (marked by the barnumber 2) disappears -as does the instrument name. " - +In this example, the second staff (marked by the bar number 2) +disappears, as does the instrument name." } - -\version "2.7.39" - \new PianoStaff << - \new Staff { - \override Staff.VerticalAxisGroup #'remove-empty = ##t - \set PianoStaff.instrument="up" - \set PianoStaff.instr="u" - c'1\break R - } - >> +\new PianoStaff << + \new Staff { + \override Staff.VerticalAxisGroup.remove-empty = ##t + \set PianoStaff.instrumentName = #"up" + \set PianoStaff.shortInstrumentName = #"u" + c'1\break R + } +>>