Repeat with brackets: Difference between revisions
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
This snippet adds brackets with the number of repetitions above a bar or a group of bar. Very useful when dealing with minimal music, for instance. To summon it, simply use <code>\repeatBracket </code><code>N</code><code> </code><code>music</code>, where <code>N</code> is the number of repetitions. Example: <code>\repeatBracket 7 { c'2 e' }</code> | This snippet adds brackets with the number of repetitions above a bar or a group of bar. Very useful when dealing with minimal music, for instance. To summon it, simply use <code>\repeatBracket </code><code>N</code><code> </code><code>music</code>, where <code>N</code> is the number of repetitions. Example: <code>\repeatBracket 7 { c'2 e' }</code> | ||
<lilypond version="2.24 | <lilypond version="2.24" full> | ||
% repeatBracket snippet | % repeatBracket snippet | ||
% will add .----Nx----. above a bar, where N is the number of repetitions | % will add .----Nx----. above a bar, where N is the number of repetitions | ||
| Line 171: | Line 171: | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Contexts and engravers]] | [[Category:Contexts and engravers]] | ||
[[Category:Snippet]] | |||