Shortening volta brackets: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
By default, the volta brackets will be drawn over all of the alternative music, but it is possible to shorten them by setting <code>voltaSpannerDuration</code>. In the next example, the bracket only lasts one measure, which is a duration of 3/4.
By default, volta brackets are drawn over all of the alternative music, but it is possible to shorten them by setting <code>voltaSpannerDuration</code>. In the snippet, the bracket spans onle a single measure, which has a duration of 3/4.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c'' {
\relative c'' {
   \time 3/4
   \time 3/4
Line 19: Line 19:
[[Category:Repeats]]
[[Category:Repeats]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]