The trick is to keep the context "alive" during the whole piece,
using spacing rests, as in the following example
\score{\notes\relative c'
\context Staff<
\context Voice=one{\voiceOne s1*4}
\context Voice=two{\voiceTwo s1*4}
\context Voice=default{
c1 |
<\context Voice=one{f4 g a2}
\context Voice=two{d,4 c f2}>
g2 c,
<\context Voice=one{f4 g a2}
\context Voice=two{d,4 c f2}>
}
>
}
/Mats
Ferenc Wagner wrote:
Hello,
In my piece with lots of < . . . >'s I have to manually
instantiate separate Voice contexts a couple of times.
<\context Voice = "VA" { \voiceOne . . . }
\context Voice = "VB" { \voiceTwo . . . }>
Next time I'd like to write
<\context Voice = "VA" { . . . }
\context Voice = "VB" { . . . }>
only, but this doesn't work, I have to spell out the
\voiceX's again. Is there a way to make the properties
persistent? (I know about \\'s and ='s).
Forgot to say, I use version 1.6.6.
Thanks: Feri.
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user