]> git.donarmstrong.com Git - lilypond.git/blob - input/test/extra-staff.ly
* scripts/convert-ly.py (FatalConversionError.subst_in_trans):
[lilypond.git] / input / test / extra-staff.ly
1
2 \version "2.1.23"
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 an extra staff after the beginning of a piece. "}
33
34 \score {
35         <<
36                 \new Staff \notes\relative c''{ c1 c c c c }
37                 \new StaffGroup \notes\relative c''{ 
38                         \new Staff 
39                         c1 c
40                         << c1 \new Staff { c1 } >>
41                         c
42                 }
43         >>
44         \paper {
45                 raggedright = ##t
46                 \translator{
47                         \ScoreContext
48
49                 }
50         }
51 }
52
53
54
55