[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Forcing horizontal space between successive notes
From: |
David Sumbler |
Subject: |
Re: Forcing horizontal space between successive notes |
Date: |
Wed, 30 Jan 2019 14:24:54 +0000 |
Wow! Two lovely solutions to my little query - both much better and
neater than my adjusting the spacing of notes by using invisible
meaningless markups with \textLengthOn.
-----Original Message-----
From: Lukas-Fabian Moser <address@hidden>
Date: Tue, 29 Jan 2019 20:15:48 +0100
> > How can one force additional space between 2 successive musical
> > moments in a score, without affecting the spacing algorithm to the
> > left and right?
>
> \version "2.19.82"
>
> \new Staff {
> <<
> {
> \repeat unfold 100 c'16 }
>
> {
> % Force extension between 1st and 2nd quaver in bar 2
> s1
> \set Score.proportionalNotationDuration = #(ly:make-moment
> 1/100)
> s8
> \unset Score.proportionalNotationDuration
> }
> >>
> }
I like the way this automatically gives appropriate spacing to notes
and rests in the stretched section.
-----Original Message-----
From: Kieren MacMillan <address@hidden>
Date: Tue, 29 Jan 2019 16:12:53 -0500
> {
> c'4 \tweak extra-spacing-width #'(0 . 4) 4 4 4
> }
And this method gives full control over the internal spacing if more
than one note/rest is involved.
I was not aware that extra-spacing-width could be used in this way. I
note that the first (left) parameter doesn't seem to do very much, so
basically the second parameter adjusts the distance from the note to
the succeeding one. Very neat!
Thanks, both, very much for these 2 solutions.
David