Ok, I see. But it's no real solution. In this cases,
TextSpanner.to-barline is not good:
* Line should span from first note in a measure
to the first note in the next measure (inlusive).
* Line should span only the first note in a measure
of four notes.
... and it doesn't look nice at the end of a measure.
I experimented with this TextSpanner.bound-details.right.attach-dir
property. Not sure what it is ^^ but this looks good for some test cases:
\version "2.19.7"
lineDef = {
\override TextSpanner.style = #'line
\override TextSpanner.thickness = #4
\override TextSpanner.bound-details.left.padding = #-0.5
\override TextSpanner.bound-details.right.padding = #-1
\textSpannerDown
}
spanOneNoteLess = \once \override
TextSpanner.bound-details.right.attach-dir = #-4
{
\lineDef
\spanOneNoteLess
g\startTextSpan e\stopTextSpan f b' |
g\startTextSpan g\stopTextSpan f c'\startTextSpan |
f' g\stopTextSpan a b |
}
<http://lilypond.org/doc/v2.18/Documentation/internals/textspanner>
Can someone explain what this property exacty is for, and why it works
also for different note closeness?
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user