[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using ossia to hide stave
From: |
Mats Bengtsson |
Subject: |
Re: using ossia to hide stave |
Date: |
Fri, 18 Aug 2006 21:12:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3 |
Why not use \RemoveEmptyStaffContext instead
(see Sect. "8.3.2 Hiding staves")? I would especially
recommend that if you have a line break before the
voice starts (which probably gives a preferable layout
anyway). Another alternative is simply to start the new
stave later, for example:
\score{
<<
\new Staff = bass \relative c { \clef bass c2 e | d g, |
% Split off the new stave:
<<
\new Staff = voice \relative c' {
% Place it above the bass stave:
\set Staff.alignAboveContext = #"bass"
c4 d e c | d b g b | c1 }
% Continue the bass stave:
{ c2 e | d g, | c1 }
>>
}
>>
}
/Mats
Jean-marc LEGRAND wrote:
Hi list !
I'm engraving a french cantata which begins with a "récitatif".
This piece begins itself with a bass line alone, and the voice enters after few
measures.
I've been using \stopStaff and \startStaff, which works very well, except one
thing : I still have
clef and time signature at each time, so the soprano line is only half hidden !
Here's my soprano.ly :
soprano =
<<
\context Voice {
\relative c'' {
\stopStaff
\partial 4*1 s4
s1 s s s s s s s s s
\startStaff
\clef G
\time 2/2
r2 r4 g
c c8 d e4 e8 c
(...) }}
}
\addlyrics {
Quelle est la dé -- es -- se (...)
}
In the ossia exemple, there's a \remove "Time_signature_engraver" : where can I
put it (the
structure of my ly file is not the same as in the tips and tricks), and is
there the same thing to
avoid the G clef at the beginning of each line ?
Best regards !
JMarc
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.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/~mabe
=============================================