@code{\set} command in a @code{\context} block in the
same way.
-
@seealso
Notation Reference: @ruser{Modifying context plug-ins},
@ruser{Changing context default settings}.
+@knownissues
+The @code{Stem_engraver} and @code{Beam_engraver} attach their
+objects to note heads. If the @code{Note_heads_engraver} is removed
+no note heads are produced and therefore no stem or beams are created
+either.
+
@node Extending the templates
@section Extending the templates
A single repeat with one alternate ending:
@lilypond[verbatim,quote,relative=2]
-\repeat volta 2 { c4 d e f }
+\repeat volta 2 { c4 d e f | }
\alternative {
- { c2 e }
- { f2 g }
+ { c2 e | }
+ { f2 g | }
}
c1
@end lilypond
A single repeat with more than one alternate ending:
@lilypond[verbatim,quote,relative=2]
-\repeat volta 4 { c4 d e f }
+\repeat volta 4 { c4 d e f | }
\alternative {
- { c2 e }
- { f2 g }
+ { c2 e | }
+ { f2 g | }
}
c1
@end lilypond
Multiple repeats with more than one alternate ending:
@lilypond[verbatim,quote,relative=2]
-\repeat volta 3 { c4 d e f }
+\repeat volta 3 { c4 d e f | }
\alternative {
- { c2 e }
- { f2 g }
- { a2 g }
+ { c2 e | }
+ { f2 g | }
+ { a2 g | }
}
c1
@end lilypond
+@warning{If there are two or more alternatives, nothing should appear
+between the closing brace of one and the opening brace of the next
+in an @code{@bs{}alternative} block, otherwise you will not get the
+expected number of endings.}
+
@warning{If you include @code{@bs{}relative} inside a
@code{@bs{}repeat} without explicitly instantiating the
@code{Voice} context, extra (unwanted) staves will appear. See
@cindex pickup in a repeat
@funindex \partial
-
If a repeat starts in the middle of a measure and has no alternate
endings, normally the end of the repeat will also fall in the
middle of a measure, so that the two ends add up to one complete