On Tue 10 May 2016 at 13:21:36 (+0200), Davide Liessi wrote: > In the following code, the two short instrument names "A" and "B" of > the second system are put one on top of the other (as I expected). > I can solve the collision manually, e.g. with something similar to the > three commented lines. > > Is there a way to automatically change the short instrument names (or > any other property) based on the visible staves?
I expect you need the schemers. Funnily enough, this works: \new StaffGroup \with { shortInstrumentName = "A " \RemoveEmptyStaves } << \new Staff { c'1 \break R1 \break c'1 } \new Staff \with { shortInstrumentName = "(B)" } { c'1 c'1 c'1 } >> Cheers, David. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user