Right! The only real reason to use \partcombine (which is
well-known to be partly broken and inflexible) is if you want
to be able to typeset several versions of the same music,
some with the parts on separate staves and some with the
parts combined into a single stave. If you only want the
combined version, it's just as easy to use Trevor's proposal.
Also, I hope you know you can get surprisingly far by just
combining to parallel lines of music in one and the same Voice
context:
\new Staff <<
\key e \major
\time 4/4
\new Voice <<
\relative c'' { R1 | R1 | b2.\f a4 | gis4 }
\relative c'' { R1 | a2.\f gis4 | fis2. fis4 | fis }
>>
>>
However, this solution does not allow you to get the desired
layout in the second measure, especially not if you want to
typeset the two parts also on separate staves.
/Mats
Trevor Daniels wrote:
How about using a second voice, introduced temporarily while
you want the horns in two parts, like this? It
automatically makes the second horn stems go down, but this
seems no bad thing.
\new Staff <<
\key e \major
\time 4/4
\relative c'' {
R1 | % Both
<<
{R1 | b2.\f a4 | gis4 } % Horn 1
\\
{a2.\f gis4 | fis2. fis4 | fis } % Horn 2
>>
fis2 e | % Both
}
Trevor D
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:lilypond-user-bounces+t.daniels=treda.co.u
[EMAIL PROTECTED] Behalf Of
Reinhold Kainhofer
Sent: 10 December 2007 18:02
To: LILYPOND Mailinglist
Subject: partcombine, but including rests in quiet voices?
Hi,
I'm typesetting large choir pieces, and some
orchestral instruments should be
combined in the full score into one staff.
However, when one of the two
instruments (e.g. first and second hornets) is
quiet, I don't want the "Solo
I" or "Solo II" written above, but rather real
rests printed. An example is
attached (plus my attempts in lilypond, which do
not show the rest in the
second measure).
As you can see, it's almost the same as with
partcombine, except that with
partcombine, there can never be a rest and a note
in parallel, which is
exactly what I want.
So, is there a way to prevent partcombine from
swallowing rests?
Cheers,
Reinhold
--
--------------------------------------------------
----------------
Reinhold Kainhofer, Vienna University of
Technology, Austria
email: [EMAIL PROTECTED],
http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien,
http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer
maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
_______________________________________________
lilypond-user mailing list
[email protected]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user