]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/instrument-name-grandstaff.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / test / instrument-name-grandstaff.ly
index fce6b129e94af77c23050119f385b7378a5ec202..e875d99ae62af6d69a2ee8d06747bd7fbf0e8fd9 100644 (file)
@@ -1,19 +1,19 @@
-\version "2.1.28"
+\version "2.7.39"
 \header { texidoc = "@cindex Instrument Name Grandstaff
 You can have a name for the whole @code{GrandStaff} in addition to 
 individual @code{Staff}s. " }
 
 \score {
-  \notes
-  \notes \context GrandStaff <<
-    \context Staff = treble    {
+  
+   \new GrandStaff <<
+    \new Staff =  "treble"    {
       \set GrandStaff.instrument = "Violini  "
       \set Staff.instrument = " vn I" { c''4 }}
-    \context Staff = bass { \set Staff.instrument = " vn II" c''4 }>>
+    \new Staff =  "bass" { \set Staff.instrument = " vn II" c''4 }>>
 
 
-\paper {
-raggedright = ##t
-\translator { \GrandStaffContext \consists "Instrument_name_engraver" }
+\layout {
+ragged-right = ##t
+\context { \GrandStaff \consists "Instrument_name_engraver" }
 }}