Re: Change size of DoublePercentRepeat

2012-01-21 Thread Caio Barros
>
> I'm not a dev but I try to learn to use some of the powerful features
> they provide.
>
> Your comment gave me incentive to learn also! Eventually I'll take some
time to do it because for modern music notation this is vital and is
basically what I do in lilypond.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change size of DoublePercentRepeat

2012-01-21 Thread Caio Barros
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 

> On 21 January 2012 23:12, Caio Barros  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 
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change size of DoublePercentRepeat

2012-01-21 Thread Xavier Scheuer
On 21 January 2012 23:12, Caio Barros  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 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change size of DoublePercentRepeat

2012-01-21 Thread Caio Barros
Aha!
It worked now. No exactly the result I wanted though... I wanted it to
occupy more than 2 spaces.
Guess I'l just copile to svg and edit it manually.

2012/1/21 Xavier Scheuer 

> On 21 January 2012 21:53, Caio Barros  wrote:
> > \override DoublePercentRepeat #'font-size = #10
>
> It's DoubleRepeatSlash , not DoublePercentRepeat .
>
>  \override DoubleRepeatSlash #'font-size = #10
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change size of DoublePercentRepeat

2012-01-21 Thread Xavier Scheuer
On 21 January 2012 21:53, Caio Barros  wrote:
> \override DoublePercentRepeat #'font-size = #10

It's DoubleRepeatSlash , not DoublePercentRepeat .

  \override DoubleRepeatSlash #'font-size = #10

Cheers,
Xavier

-- 
Xavier Scheuer 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change size of DoublePercentRepeat

2012-01-21 Thread Caio Barros
I'm pretty sure... here is a more complete code

\version "2.14.2"

\relative c'' {

c4 c

\override DoublePercentRepeat #'font-size = #10

\repeat percent 2 { c8. c16 }

}


no change of size at all. Maybe it has something to do with the version?


2012/1/21 Xavier Scheuer 

> On 21 January 2012 20:59, Caio Barros  wrote:
> >  \ override DoublePercentRepeat #'font-size = #4
>
> It works here.
> Are you sure you have double percent and not [simple] percent repeat?
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Change size of DoublePercentRepeat

2012-01-21 Thread Xavier Scheuer
On 21 January 2012 20:59, Caio Barros  wrote:
>  \ override DoublePercentRepeat #'font-size = #4

It works here.
Are you sure you have double percent and not [simple] percent repeat?

Cheers,
Xavier

-- 
Xavier Scheuer 

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Change size of DoublePercentRepeat

2012-01-21 Thread Caio Barros
Hi list.
Is there a way to change the size of the double percent repeat sign?
I tried

 \ override DoublePercentRepeat #'font-size = #4

but noticed no changes.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user