]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/instrument-name-grandstaff.ly
* Documentation/user/examples.itely (Transcription of mensural
[lilypond.git] / input / test / instrument-name-grandstaff.ly
index 40314b8c8e89026c5b3590fbbd5af1be1e97aead..004d79c84403da251c13f646024a72e61c8b7c53 100644 (file)
@@ -1,19 +1,19 @@
-\version "2.1.36"
+\version "2.9.13"
 \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    {
-      \set GrandStaff.instrument = "Violini  "
-      \set Staff.instrument = " vn I" { c''4 }}
-    \context Staff = bass { \set Staff.instrument = " vn II" c''4 }>>
+  
+   \new GrandStaff <<
+    \new Staff =  "treble"    {
+      \set GrandStaff.instrumentName = "Violini  "
+      \set Staff.instrumentName = " vn I" { c''4 }}
+    \new Staff =  "bass" { \set Staff.instrumentName = " vn II" c''4 }>>
 
 
-\paper {
-raggedright = ##t
-\context { \GrandStaffContext \consists "Instrument_name_engraver" }
+\layout {
+ragged-right = ##t
+\context { \GrandStaff \consists "Instrument_name_engraver" }
 }}