]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / instrument-name.ly
index c767c01acf2f4551ff0d5e46e3bf7c183aced490..7f31123fc9f7b2d3e839df5afc775d29203a34e6 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.6.0"
+\version "2.14.0"
 \header{
   texidoc="
 Staff margins are also markings attached to barlines.  They should be
@@ -8,19 +8,29 @@ PianoStaff.
 "
 }
 
+\layout {
+  ragged-right = ##t
+}
 
 
 
 
 
-\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 }>>
-
-\layout {
-  raggedright = ##t
-}
 
+\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
+    }
+  >>
 
+  \lyrics {
+    \set vocalName = "bert"
+    blah
+  }
+  \new Staff { c''4 } 
+>>