lilypond-user
[Top][All Lists]

## RE: Problem with barre music function

 From: Nick Payne Subject: RE: Problem with barre music function Date: Fri, 3 Apr 2009 17:24:15 +1100

> -----Original Message-----
> Sent: Friday, 3 April 2009 09:23
> To: Nick Payne
> Subject: Re: Problem with barre music function
>
> > I have a music function I use for barring indications in guitar
> scores, and
> > for a reason that I haven't been able to work out, if the TextSpanner
> used
> > for the barring indication wraps from the staff where it begins to
> the
> > following staff, and also terminates at the first note of that staff,
> then
> > nothing gets drawn above that first note. If it wraps to the
> following staff
> > and terminates at any note other than the first, then it works
> correctly.
>
> I'm afraid this is deliberately hard-coded; see the bug report here:
>
> Though the report discusses glissandi, it actually applies to all
> spanners using ly:line-spanner::print.
>
If that's the case, then the only solution I can see is the rather ugly hack of
waiting until the score is complete so I can see where the line breaks fall,
and then taking any spanner that has this problem and putting \stopTextSpan on
the note after the note where it should actually end with manual tweaking of
the RH padding so that it appears to end on the desired note.

Nick