]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / regression / instrument-name.ly
index 6dfaf69a081b94bb6ef108febf04b631df38b130..c48478f877146414837078abe4e096b10c6b79d8 100644 (file)
@@ -1,6 +1,6 @@
-\version "2.6.0"
+\version "2.11.51"
 \header{
-texidoc="
+  texidoc="
 Staff margins are also markings attached to barlines.  They should be
 left of the staff, and be centered vertically with respect to the staff.  
 They may be on normal staves, but also on compound staves, like the 
@@ -8,19 +8,29 @@ PianoStaff.
 "
 }
 
-       
+\layout {
+  ragged-right = ##t
+}
+
 
 
-\score {
 
-   \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 } 
+>>