]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name-hara-kiri.ly
Issue 4947: Link notes to dynamics in Dynamic_performer rather than
[lilypond.git] / input / regression / instrument-name-hara-kiri.ly
index 1b77506e7d0341109ca2bd602d22778c70ac1b57..7e6db4ac3b2b132138e9033b5e8a83fef43cff5b 100644 (file)
@@ -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.31"
         
-  \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
+  }
+>>