]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/instrument-name-grandstaff.ly
* scm/lily.scm (ly:all-stencil-expressions):
[lilypond.git] / input / test / instrument-name-grandstaff.ly
index 8091d8de88a746db7a9183b62dc24672c72daaf8..230b8bfc320641092e2171dbd0df1ce7b14a9479 100644 (file)
@@ -1,18 +1,19 @@
-\version "2.1.7"
+\version "2.3.4"
 \header { texidoc = "@cindex Instrument Name Grandstaff
-You can name the whole grandstaff in addition to individual staffs. " }
+You can have a name for the whole @code{GrandStaff} in addition to 
+individual @code{Staff}s. " }
 
 \score {
-  \notes
-  \notes \context GrandStaff <<
+  
+   \context GrandStaff <<
     \context Staff = treble    {
-      \property GrandStaff.instrument = "Violini  "
-      \property Staff.instrument = " vn I" { c''4 }}
-    \context Staff = bass { \property Staff.instrument = " vn II" c''4 }>>
+      \set GrandStaff.instrument = "Violini  "
+      \set Staff.instrument = " vn I" { c''4 }}
+    \context Staff = bass { \set Staff.instrument = " vn II" c''4 }>>
 
 
 \paper {
 raggedright = ##t
-\translator { \GrandStaffContext \consists "Instrument_name_engraver" }
+\context { \GrandStaff \consists "Instrument_name_engraver" }
 }}