Perfect, that's exactly what I want!

I'll need even larger, so:

 scaledDoubleRepeatSlash = #(lambda (grob) (ly:stencil-scale

(ly:percent-repeat-item-interface::beat-slash grob) 2 2))



Thank you!

2012/1/21 Xavier Scheuer <x.sche...@gmail.com>

> On 21 January 2012 23:12, Caio Barros <caio.bar...@gmail.com> 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 <x.sche...@gmail.com>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to