1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.15.42
11 lsrtags = "staff-notation, tweaks-and-overrides, contexts-and-engravers"
13 This snippet shows the use of the @code{Span_stem_engraver}
14 and @code{\\crossStaff} to connect stems across staves automatically.
15 The stem length need not be specified, as the variable distance
16 between noteheads and staves is calculated automatically.
18 doctitle = "Cross staff stems"
25 \consists #Span_stem_engraver
32 <b d'>4 r d'16\> e'8. g8 r\!
39 \crossStaff { <e g>4 e, g16 a8. c8} d