]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/instrument-name-hara-kiri.ly
b7dd39dafad8d9a2f8895c92e043497f5ef3d359
[lilypond.git] / input / regression / instrument-name-hara-kiri.ly
1
2 \header {
3
4   texidoc = "@code{PianoStaff.instrument} and
5 @code{PianoStaff.instr} are removed when the staves are killed off.
6
7 In this example, the 2nd staff (marked by the barnumber 2) disappears
8 as does the instrument name.  "
9
10 }
11
12 \version "2.9.13"
13         
14   \new PianoStaff <<
15     \new Staff {
16       \override Staff.VerticalAxisGroup #'remove-empty = ##t  
17       \set PianoStaff.instrumentName ="up" 
18       \set PianoStaff.shortInstrumentName ="u"
19       c'1\break R
20     }
21   >>