Here's my snake-oil function for the centered whole-rest. In 4/4 & proportional notation, it's working like a charm!
REST = { s2 \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = \markup { \musicglyph #"rests.0" } \once \override Stem #'transparent = ##t e'2 } Thanks for listening. Pete PMA wrote:
Hi List. With many multi-bar rests, my 10-staff StaffGroup in compilation dies of segmentation fault. With each multibar rest replaced by however many R1's, it dies still. So I've now replaced every R1 with "s2 r2" (which compiles fine), hoping next to tell Lilypond to *print* that centered "r2" as an r1. But I don't see a way to persuade it. Is there a trick that would accomplish this -- something akin to \once \override Rest #'glyph = #"rests.0" r2 ? (That fails, of course.) Or, addressing the original problem -- is there a way to make StaffGroup happy in the first place with multi-bar rests? Thanks for any consideration. Best regards, Pete
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user