]> 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 6f0f6f0bc30718fd9c0e3fc261711eeeb0392fe6..6d7b540a56763d38d8fc1de48dba624ffcd7bbdb 100644 (file)
@@ -1,25 +1,36 @@
-\version "1.7.6"
+\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 wrt the staff.  They may
-be on normal staves, but also on compound staves, like the PianoStaff
+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 
+PianoStaff.
 "
 }
 
-       
+\layout {
+  ragged-right = ##t
+}
+
+
 
 
-\score {
 
-  \notes \context PianoStaff <
-    \context Staff = treble    {
-      \property PianoStaff.instrument = "Piano "
-      \property Staff.instrument = "Right " { c''4 }}
-    \context Staff = bass { \property Staff.instrument = "Left " \clef bass c4 }>
 
-\paper {
-linewidth=-1.0
-}}
+\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
+    }
+  >>
 
-%% new-chords-done %%
+  \lyrics {
+    \set vocalName = "bert"
+    blah
+  }
+  \new Staff { c''4 } 
+>>