]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name.ly
Issue 5148/2: three-sided-box snippet: use #:properties keyword
[lilypond.git] / input / regression / instrument-name.ly
index 374b4a9e97743591f067c453fe94677817232197..0ecb8be56798a4fb0b4dd6e0d87734ef733a08a8 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.7.32"
+\version "2.16.0"
 \header{
   texidoc="
 Staff margins are also markings attached to barlines.  They should be
@@ -17,17 +17,20 @@ PianoStaff.
 
 
 
+\new StaffGroup <<
+  \context PianoStaff <<
+    \new Staff    {
+      \set PianoStaff.instrumentName = "Piano"
+      \set Staff.instrumentName = "Right" { c''4 }}
+    \new Staff {
+      \set Staff.instrumentName = "Left"
+      \clef bass c4
+    }
+  >>
 
-\context PianoStaff <<
-  \context Staff = "treble"    {
-    \set PianoStaff.instrument = "Piano"
-    \set Staff.instrument = "Right" { c''4 }}
-  \context Staff = "bass" {
-    \set Staff.instrument = "Left"
-    \clef bass c4
+  \lyrics {
+    \set vocalName = "bert"
+    blah
   }
+  \new Staff { c''4 } 
 >>
-
-
-
-