]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/percent-repeat-count-visibility.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / percent-repeat-count-visibility.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "repeats, tweaks-and-overrides"
11
12   texidoc = "
13 Percent repeat counters can be shown at regular intervals by setting
14 the context property @code{repeatCountVisibility}.
15
16 "
17   doctitle = "Percent repeat count visibility"
18 } % begin verbatim
19
20
21 \relative c'' {
22   \set countPercentRepeats = ##t
23   \set repeatCountVisibility = #(every-nth-repeat-count-visible 5)
24   \repeat percent 10 { c1 } \break
25   \set repeatCountVisibility = #(every-nth-repeat-count-visible 2)
26   \repeat percent 6 { c1 d1 }
27 }