]> git.donarmstrong.com Git - lilypond.git/blob - input/test/extra-staff.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / input / test / extra-staff.ly
1
2 \version "2.7.39"
3
4 % definitely wil be renamed to something.
5 %{
6 (Message vers:9)
7 To: Adrian Mariano <adrian@camcornelledu>.
8 cc: gnu-music-discuss@gnu.org
9 Subject: Re: Switching from one staff to two staves 
10 Reply-To: janneke@gnu.org
11 In-reply-to: Your message of "Tue, 19 Jan 1999 12:27:10 EST."
12              <199901191727.MAA29757@avalanchecamcornelledu>. 
13 Date: Wed, 20 Jan 1999 09:39:22 +0100
14 From: Jan Nieuwenhuizen <jan@beavis-nt>
15
16 On Tuesday, 19 January 1999, Adrian Mariano writes:
17
18 >> I want to typeset something which starts out with just one staff and then
19 >> harmony comes in and there are two staves.  I can't figure out how to do
20 >> this.  I get an extra blank staff during the second section (using
21 >> Lily 1.1.15):
22
23 There used to be an example called 'multi.ly'...
24 Try this (we'll include it in pl23/24):
25
26 extra-staff.ly:
27 %}
28
29
30 \header{ texidoc="@cindex Staff Extra
31 @cindex Staff Ossia
32 You can add (possibly temporarily) an extra staff after the beginning of 
33 a piece. "
34 }
35
36 \score {
37         <<
38                 \new Staff \relative c''{ c1 c c c c }
39                 \new StaffGroup \relative c''{ 
40                         \new Staff 
41                         c1 c
42                         << c1 \new Staff { c1 } >>
43                         c
44                 }
45         >>
46         \layout {
47                 ragged-right = ##t
48                 \context{
49                         \Score
50
51                 }
52         }
53 }
54
55
56
57