]> 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 f5cafed39e182a02fd243b8c87349f31b6339c4a..004d79c84403da251c13f646024a72e61c8b7c53 100644 (file)
@@ -1,19 +1,19 @@
-\version "2.3.17"
+\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 {
   
-   \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
+\layout {
+ragged-right = ##t
 \context { \GrandStaff \consists "Instrument_name_engraver" }
 }}