\startTextSpan
and \stopTextSpan
commands allow the creation of text spanners as easily as pedal indications or octavations. Override some properties of the TextSpanner
object to modify its output.
What's this? Searching the LSR Browse by date Contributing Snippet database | Browsing items 290−299 out of 949 |
\override Staff.Beam.collision-voice-only = ##t
This snippet shows how to use Span_stem_engraver
and \crossStaff
to connect stems across staves automatically.
The stem length need not be specified, as the variable distance between noteheads and staves is calculated automatically. However, it is important that \crossStaff
is applied to the correct voice or staff (i.e., on the opposite side of where a beam is or would be positioned) to get the desired effect.