1\version "2.21.5" 2 3\header { 4 texidoc = "Isolated percent-repeat signs can be printed." 5} 6 7\layout { 8 ragged-right =##t 9} 10 11%% This is based on the snippet isolated-percent-repeats.ly. 12percent = 13#(define-music-function (dur) (ly:duration?) 14 "Make a percent repeat." 15 (make-music 'PercentEvent 16 'length (ly:duration-length dur))) 17 18\relative c'' << 19 \new Staff { \percent 1 } 20 \new Staff { \percent 2 \percent 2 | \percent \breve } 21 %% \new Voice tests initialization of the engraver in mid score. 22 \new Staff { R1 \new Voice { \percent 1 } } 23 \new Staff { R1 \new Voice { \percent 2 \percent 2 } } 24>> 25