|
From: | Evan Driscoll |
Subject: | Typesetting tweak with percent repeat |
Date: | Tue, 24 Apr 2018 22:19:14 -0500 |
\version "2.18.2"
makePercent =
#(define-music-function (parser location note) (ly:music?)
"Make a percent repeat the same length as NOTE."
(make-music 'PercentEvent
'length (ly:music-length note)))
cello = \relative c {
a4(\downbow b c d) |
\makePercent s1\upbow \bar "||"
}
\score {
\new Staff \with {
} { \clef bass \cello }
}
[Prev in Thread] | Current Thread | [Next in Thread] |