| [ << Changing defaults ] | [Top][Contents][Index] | [ Markup commands >> ] |
| [ < Setting minimum lengths for spanners ] | [ Up : Spanners ] | [ Line styles > ] |
Controlling spanner end points
The to-barline property of the spanner-interface,
usually defaulting to #t, causes hairpins and other spanners
that are terminated on the first note of a measure to end instead
on the immediately preceding bar line. If set to #f, the
spanner extends beyond the bar line and end on the note itself:
\relative { a' \< a a a a \! a a a \break \override Hairpin.to-barline = ##f a \< a a a a \! a a a }![]()
This property is not effective for all spanners. For example,
setting it to #t has no effect on slurs or phrasing slurs
or on other spanners for which terminating on the bar line would
not be meaningful.
| [ << Changing defaults ] | [Top][Contents][Index] | [ Markup commands >> ] |
| [ < Setting minimum lengths for spanners ] | [ Up : Spanners ] | [ Line styles > ] |
![[image of music]](../70/lily-28a39e9c.png)