On Fri, 2025-02-21 at 15:46 +0000, Werner LEMBERG wrote:
> > [...] to enable the glissando to have more space I added a new
> > spacing section around it giving this example:
> > 
> > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> > \version "2.25.18"
> > \relative c'' {
> >    \time 3/4
> >    \override Glissando.style = #'zigzag
> >    c4 c4
> >    \newSpacingSection
> >    \override Score.SpacingSpanner.spacing-increment = #1
> >    c4*7/8\glissando
> >    \hideNotes c,,32 \unHideNotes
> >    \newSpacingSection
> >    \revert Score.SpacingSpanner.spacing-increment
> >    \bar "|"
> >    R2.
> > }
> > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> 
> I don't think that using a new spacing section is the right way to
> solve this because such a section could still be compressed
> unfavorably in tight situations, AFAIK.  Instead, I would simply give
> the glissando line a minimum length (I use an exaggerated value for
> demonstration purposes).

ah! yes, I had forgotten about that - thanks!

Richard

> 
> ```
> \relative c'' {
>   \time 3/4
>   \override Glissando.style = #'zigzag
>   c4 c4
>   c4*7/8
>     \tweak springs-and-rods #ly:spanner::set-spacing-rods
>     \tweak minimum-length #10
>     \glissando
>   \hideNotes c,,32 \unHideNotes
>   \bar "|"
>   R2.
> }
> ```
> 
> 
>     Werner


Reply via email to