Look into \markLengthOn and markLengthOff.

You can find examples on this page: 
https://lilypond.org/doc/v2.23/Documentation/notation/displaying-rhythms


Paul



 From:   Galen Hazelwood <[email protected]> 
 To:   <[email protected]> 
 Sent:   02/08/2022 22:55 
 Subject:   Expanding rest printing so tempo changes don't clash 


Hello, everyone. I'm a relatively inexperienced lilypond user trying to use it 
for a big project (score and parts for Leo Ornstein's Piano Concerto) and I've 
been running into some issues. I'd like to start with what I hope is an easy 
one.


There's a point early on where I have three \tempo markings in fairly close 
proximity. For the instruments that aren't playing, it looks like this:


{ \tempo "più agitato" R1 \tempo "Appasionata, ma molto sostenuto" R1*2 \time 
2/4 R2 \time 3/4 \tempo "Allegro" R2. }



Lilypond prints this so tightly packed that the "Appasionata" actually sits 
over the "piu agitato", and it in turn is such a long string that it overlaps 
the "Allego". So I'd like to make those rest bars artificially longer, to match 
the length of the tempo strings plus some margin.


The trouble is, I'm not sure what to override. I tried Rest.extra-spacing-width 
(by analogy with NoteHead.extra-spacing-width, which I used elsewhere) and it 
didn't seem to do anything, so it's not the right object. Can anyone point me 
in the right direction here?


One last wrinkle; it has to work with \compressMMRests.


Thanks!
--Galen





 

Reply via email to