X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fextra-staff.ly;h=77ef7ecc7fabc723919d597047c33a655d2c6f90;hb=43211009ef51c3fb6b7486b3915d452f6cc3c175;hp=146e52e7ac6fb77f38caf37923be56bdaf3354a3;hpb=630e8a2f3ab6cf78258fea9c131715e3e76dcbc7;p=lilypond.git diff --git a/input/test/extra-staff.ly b/input/test/extra-staff.ly index 146e52e7ac..77ef7ecc7f 100644 --- a/input/test/extra-staff.ly +++ b/input/test/extra-staff.ly @@ -1,20 +1,24 @@ + +\version "2.1.7" + +% definitely wil be renamed to something. %{ (Message vers:9) -To: Adrian Mariano +To: Adrian Mariano . cc: gnu-music-discuss@gnu.org -Subject: Re: Switching from one staff to two staffs +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@avalanche.cam.cornell.edu> + <199901191727.MAA29757@avalanchecamcornelledu>. Date: Wed, 20 Jan 1999 09:39:22 +0100 From: Jan Nieuwenhuizen 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 staffs. 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): @@ -22,18 +26,23 @@ Try this (we'll include it in pl23/24): extra-staff.ly: %} + +\header{ texidoc="@cindex Staff Extra +@cindex Staff Ossia +You can add 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 \notes\relative c''{ c1 c c c c } + \new StaffGroup \notes\relative c''{ + \new Staff c1 c - < \context Staff=ii { c1 } \context Staff=iii { c1 } > + << c1 \new Staff { c1 } >> c } - > + >> \paper { - linewidth = -1.; + raggedright = ##t \translator{ \ScoreContext @@ -42,4 +51,5 @@ extra-staff.ly: } -\version "1.3.42"; + +