> > but it would likely not be > easy to implement properly. > That's what I figured… It's okay, I'll try what Mats and Kieren have suggested with the tags, and if that turns out to be more work than it's worth, then I can always just manually pad the variables with rests, I guess.
Thanks, Randy On Thu, Feb 7, 2019 at 11:52 PM David Kastrup <d...@gnu.org> wrote: > 智樂喬 <randy.josl...@gmail.com> writes: > > > I'd also like to avoid defining two variables, to keep things a little > > DRYer. > > > > What I imagine might be idea would be a function which works similarly to > > skip-of-length, but takes an argument to subtract a specified length from > > the variable. I imagined something like the following: > > > > #{skip-of-length (- (ly:length-of partA) (ly:make-moment 1/4))) \partB > > > > And then put that in a function to make it more compact and easy to use. > > It won't give you multi-measure rests padded with ordinary rests. It > might be a great addition to multi-measure rests if they self-padded > with ordinary rests for incomplete measures but it would likely not be > easy to implement properly. > > -- > David Kastrup >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user