Re: Hairpin.to-barline broken?

Kieren MacMillan <[email protected]> Thu, 2 Jul 2026 07:07:26 -0400
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Hi Michael,

> Ah, now I remember. Thank you... I now spanned it over a zero duration note,
> which is exactly what I needed.
> 
> | a4.(\< b8 g2) 1*0\! |

That will affect the duration of the next note [unless you explicitly set it]:

%%%  BEGIN
\version "2.27.1"

\markup "Attached to note is too short:"
{ a4.(\< b8 g2)\! | c'' }

\markup "Attached to next note goes to barline by default:"
{ a4.(\< b8 g2) | c''\! }

\markup "Attached to zero-duration note affects next note duration:"
{ a4.(\< b8 g2) 1*0\! | c'' }

\markup "Attached to <> doesn’t:"
{ a4.(\< b8 g2) <>\! | c'' }

\markup "Using \after also works:"
{ a4.(\< b8 \after 2 \! g2) | c'' }
%%%  END

Best,
Kieren.

__________________________________________________

My work day may look different than your work day. Please do not feel obligated to read or respond to this email outside of your normal working hours.