# Forcing horizontal space between successive notes

5 messages
Open this post in threaded view
|

## Forcing horizontal space between successive notes

 I have various clunky workarounds for this problem, but I am still wondering whether there isn't a neater way. How can one force additional space between 2 successive musical moments in a score, without affecting the spacing algorithm to the left and right?  This is occasionally desirable, for instance to leave horizontal space for some textual instruction or narration. I have experimented with all sorts of parameters for various items such as PaperColumn, VerticalAlignment, SpacingSpanner and others, but so far without any success. David _______________________________________________ lilypond-user mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

## Re: Forcing horizontal space between successive notes

 Hi David, > I have various clunky workarounds for this problem, but I am still > wondering whether there isn't a neater way. > > How can one force additional space between 2 successive musical moments > in a score, without affecting the spacing algorithm to the left and > right?  This is occasionally desirable, for instance to leave > horizontal space for some textual instruction or narration. > > I have experimented with all sorts of parameters for various items such > as PaperColumn, VerticalAlignment, SpacingSpanner and others, but so > far without any success. Not perfect, but you could use the fact that in proportional notation it is possible (necessary) to define a factor which basically controls how much the music is going to be stretched: \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    }    >> } Increasing the denominator (100 in this case) increases the amount of stretching. Drawback: Maybe you do not actually want proportional spacing to be used between the musical moments taken as left and right boundary of the area to be stretched. But for me this always was acceptable. Lukas _______________________________________________ lilypond-user mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/lilypond-user
Open this post in threaded view
|

## Re: Forcing horizontal space between successive notes

 In reply to this post by David Sumbler Hi David, > How can one force additional space between 2 successive musical moments > in a score, without affecting the spacing algorithm to the left and right? {   c'4 \tweak extra-spacing-width #'(0 . 4) 4 4 4 } ?? Hope that helps! Kieren. ________________________________ Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: [hidden email] _______________________________________________ lilypond-user mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/lilypond-user