]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / regression / instrument-name.ly
index c7d8bf7a0105ead0d75277663a98836ec1f225b9..6d7b540a56763d38d8fc1de48dba624ffcd7bbdb 100644 (file)
@@ -1,6 +1,6 @@
-\version "2.3.4"
+\version "2.7.39"
 \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 }>>
 
-\paper {
-raggedright = ##t
-}}
 
+\new StaffGroup <<
+  \context PianoStaff <<
+    \new Staff    {
+      \set PianoStaff.instrument = "Piano"
+      \set Staff.instrument = "Right" { c''4 }}
+    \new Staff {
+      \set Staff.instrument = "Left"
+      \clef bass c4
+    }
+  >>
 
+  \lyrics {
+    \set vocalName = "bert"
+    blah
+  }
+  \new Staff { c''4 } 
+>>