Hi Keith, Yes, thank you. Thats the trick.
... you can use the \removeWithTag feature.)
musicI = {
<<
\tag #'partcombineHide { e''2( a'2) }
\tag #'partcombineOnly {<< { e''2( a'2) } \\ { \once\override NoteColumn
#'ignore-collision =##t \once \stemUp e'2( a'2) } >>}
>>
e''1
}
musicII = {
<<
\tag #'partcombineHide { e'2( a'2) }
\tag #'partcombineOnly { s1 }
>>
e'1
}
\markup { Hack with tags}
<<
\new Staff {\removeWithTag #'partcombineHide \partcombine \musicI \musicII }
\new Staff {\removeWithTag #'partcombineOnly \musicI }
\new Staff {\removeWithTag #'partcombineOnly \musicII }
>>
And the result is like the included figure.
Greetings, Ed
<<attachment: partcombine1.png>>
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
