]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/extra-staff.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / test / extra-staff.ly
index ec0073d9ab22829344ae0fb31204559a83891a0f..71a54da3f226485b3724bebac03ba2ce19edad68 100644 (file)
@@ -1,21 +1,24 @@
-\version "1.7.6"
+
+\version "2.7.39"
+
+% definitely wil be renamed to something.
 %{
 (Message vers:9)
-To: Adrian Mariano <<adrian@camcornelledu>>.
+To: Adrian Mariano <adrian@camcornelledu>.
 cc: gnu-music-discuss@gnu.org
 Subject: Re: Switching from one staff to two staves 
 Reply-To: janneke@gnu.org
 In-reply-to: Your message of "Tue, 19 Jan 1999 12:27:10 EST."
-             <<199901191727.MAA29757@avalanchecamcornelledu>>. 
+             <199901191727.MAA29757@avalanchecamcornelledu>. 
 Date: Wed, 20 Jan 1999 09:39:22 +0100
-From: Jan Nieuwenhuizen <<jan@beavis-nt>>
+From: Jan Nieuwenhuizen <jan@beavis-nt>
 
 On Tuesday, 19 January 1999, Adrian Mariano writes:
 
-> I want to typeset something which starts out with just one staff and then
-> harmony comes in and there are two staves.  I can't figure out how to do
-> this.  I get an extra blank staff during the second section (using
-> Lily 1.1.15):
+>> I want to typeset something which starts out with just one staff and then
+>> harmony comes in and there are two staves.  I can't figure out how to do
+>> this.  I get an extra blank staff during the second section (using
+>> Lily 1.1.15):
 
 There used to be an example called 'multi.ly'...
 Try this (we'll include it in pl23/24):
@@ -23,20 +26,27 @@ Try this (we'll include it in pl23/24):
 extra-staff.ly:
 %}
 
+
+\header{ texidoc="@cindex Staff Extra
+@cindex Staff Ossia
+You can add (possibly temporarily) an extra staff after the beginning of 
+a piece. "
+}
+
 \score {
-       <
-               \context Staff=i \notes\relative c''{ c1 c c c c }
-               \context StaffGroup=ii \notes\relative c''{ 
-                       \context Staff=ii
+       <<
+               \new Staff \relative c''{ c1 c c c c }
+               \new StaffGroup \relative c''{ 
+                       \new Staff 
                        c1 c
-                       < \context Staff=ii { c1 } \context Staff=iii { c1 } >
+                       << c1 \new Staff { c1 } >>
                        c
                }
-       >
-       \paper {
-               linewidth = -1.
-               \translator{
-                       \ScoreContext
+       >>
+       \layout {
+               ragged-right = ##t
+               \context{
+                       \Score
 
                }
        }
@@ -44,4 +54,4 @@ extra-staff.ly:
 
 
 
-%% new-chords-done %%
+