>
> On Tue 18 Feb 2025 at 17:56:02 (+0000), Richard Shann wrote:
> > At https://lilypond.org/doc/v2.25/Documentation/notation/glissando
> > under the section
> > Contemporary glissando
> > is this example (without the whole bar rest at the end).
> > 8><8><8><8><8><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 c
> > \cadenzaOn
> > c4\glissando
> > \hideNotes
> > c,,4
> > \unHideNotes
> > \cadenzaOff
> > \bar "|"
> > % R1*4/4
> > }
> > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
> >
> > When the whole measure rest is present two whole measure rests appear and
> > an
> > empty bar.
> >
> > Is there a fix for this?
>
> A fix would necessitate knowing what you want to print.
>
> Perhaps it's something like the attached?
>
> Cheers,
> David.
Hello Richard and David,
Here is what I had, fyi. I used \after function to give the glissando some fine
tuning while the content of the measure not spilled over to the next measure.
While I could see the rationale behind using \cadenzaOn and \cadenzaOff, I fear
that it affects the overall spacing. For glissando of this kind, I think that
it is best to keep the issue of spacing as intact as possible. So my example
doesn’t use the \cadenza… functions.
All the best,
Yoshi
\version "2.25.18"
\relative c'' {
\time 3/4
\override Glissando.style = #'zigzag
c4 c4
\after 8.. {\hideNotes
{c,,32}
\unHideNotes
} c''4\glissando
\bar "|"
R2.
}