[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: position of ossia staff
From: |
Mats Bengtsson |
Subject: |
Re: position of ossia staff |
Date: |
Wed, 27 Nov 2002 11:30:24 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 |
Do you mean something like this?
\score{
\context GrandStaff = gs \notes \relative c''<
\context Staff=aa {s1}
\context Staff=bb {s1*3}
\context Staff=cc {s1}
\context Staff=aa {a1 a \break
<{a a} \context Staff=bb {b b}>}
\context Staff=cc {c1 c c c}
>
\paper{
\translator{\HaraKiriStaffContext}
}
}
The trick is to define all the contexts from the beginning of the piece,
since they will appear in the order they are defined. Then you have to
keep the sleeping contexts "alive" until they are used.
/Mats
Graham Percival wrote:
I'd like to include an ossia (alternate part) in a piece. The piece
normally has two staffs, and I'd like to have an alternate staff between
the two staffs. However, Lilypond puts the alternate staff at the
bottom of the staffs:
aaaa
cccc
bb
(see example)
I'd like it to look like this:
aaaa
bb
cccc
Is this possible?
------
\score {
\context GrandStaff = gs \notes <
\context Staff=$aaa { a'1 a'
<{a' a'}
\context Staff=$bbb {b'1 b'}
>}
\context Staff=$ccc { c''1 c'' c'' c''}
}
-----
Cheers,
- Graham
_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~matsb
=============================================