[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change size of DoublePercentRepeat
From: |
Xavier Scheuer |
Subject: |
Re: Change size of DoublePercentRepeat |
Date: |
Sat, 21 Jan 2012 23:36:56 +0100 |
On 21 January 2012 23:12, Caio Barros <address@hidden> wrote:
> Aha!
> It worked now. No exactly the result I wanted though... I wanted it to
> occupy more than 2 spaces.
Vertically?
I'm not a dev but I try to learn to use some of the powerful features
they provide.
What do you think of the following solution?
%%%% Snippet
\version "2.15.26"
scaledDoubleRepeatSlash = #(lambda (grob) (ly:stencil-scale
(ly:percent-repeat-item-interface::beat-slash grob) 1 1.5))
\relative c'' {
c4 c
% \override DoublePercentRepeat #'font-size = #10
\override DoubleRepeatSlash #'stencil = #scaledDoubleRepeatSlash
\repeat percent 2 { c8. c16 }
}
%%%% End of snippet
Cheers,
Xavier
--
Xavier Scheuer <address@hidden>