]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/isolated-percent-repeats.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / isolated-percent-repeats.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.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.19.22"
8
9 \header {
10   lsrtags = "repeats"
11
12   texidoc = "
13 Isolated percents can also be printed.
14
15 "
16   doctitle = "Isolated percent repeats"
17 } % begin verbatim
18
19 makePercent =
20 #(define-music-function (note) (ly:music?)
21    "Make a percent repeat the same length as NOTE."
22    (make-music 'PercentEvent
23                'length (ly:music-length note)))
24
25 \relative c'' {
26   \makePercent s1
27 }