Mark Knoop <m...@opus11.net> writes: > At 18:02 on 19 Aug 2016, Mats Bengtsson wrote: >>I recently typeset a concerto grosso from the baroque period, where >>the solo and tutti parts are identical during long sections and then >>they differ for some bars, every here and there. When entering the >>parts, I used tags to handle the differences so producing the separate >>parts works without problem. However, in the conductors score, I would >>prefer to only use a single stave per instrument when the solo and >>tutti play in unison, but individual staves when they differ. I >>managed to handle this using remove-layer as long as there's only a >>single instrument group that contains and occasional solo part, but if >>for example both violin 1 and violin 2 have a solo plus a tutti, then >>I didn't manage to get it to work correctly. The following example >>shows my current attempt. As can be seen, the split between solo and >>tutti parts happens both for violin 1 and 2 as soon as one of them is >>split. For example, in the second score line, I would like to see Vi I >>solo, Vi I tutti but only one stave with Vi II. > > Hi Mats, > > How does the attached look to you? Note I have moved the > Keep_alive_together_engraver to the GrandStaff level so that the vln I > and vln II groups can work independently. The problem now is making the > system start braces cooperate.
I think we should likely have some context with only Keep_alive_engraver in it and accepting all sorts of Staff contexts. That would likely be more natural than juggling manually with Keep_alive_engraver. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user