Re: Adding markup to percent repeat sign

2014-02-03 Thread David Bellows
iece that has a lot of repeated >> measures that I would like to notate using the percent repeat symbol >> with text above it like "8x" or any other arbitrary text. >> >> The built-in functionality does not seem to allow for this unless I'm >> missing somethin

Re: Adding markup to percent repeat sign

2014-02-02 Thread TaoCG
lity does not seem to allow for this unless I'm > missing something. I found a snippet to generate a percent repeat > sign: > > makePercent = > #(define-music-function (parser location note) (ly:music?) >"Make a percent repeat the same length as NOTE." >

Adding markup to percent repeat sign

2014-02-02 Thread David Bellows
missing something. I found a snippet to generate a percent repeat sign: 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))) But

Re: Percent repeat sign

2005-08-20 Thread Claus Wilke
> try adding \once before the \override, or > > do \revert MultiMeasureRest #'print-function Yup, that works. Claus ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Percent repeat sign

2005-08-20 Thread Claus Wilke
> I expect that it will also work with 2.2 , you have to add > \score{\notes {}}. Yes, it works fine, even in 2.2. However, I need a similar command to turn my rests back into normal rests. At least in 2.2, this command produces percent-shaped rests for the remainder of the score. > I added th

Re: Percent repeat sign

2005-08-20 Thread Claus Wilke
> Maybe I should have started with this question, but what do you need the > notation for? > > If Mats' trick serves you, then it's ok. Otherwise please let me know, > then I will go ahead with adding the sponsored feature. I realized that Mats' trick would work in principle, but I don't like it (

Re: Percent repeat sign

2005-08-19 Thread Han-Wen Nienhuys
Claus Wilke wrote: I expect that it will also work with 2.2 , you have to add \score{\notes {}}. Yes, it works fine, even in 2.2. However, I need a similar command to turn my rests back into normal rests. At least in 2.2, this command produces percent-shaped rests for the remainder of the sc

Re: Percent repeat sign

2005-08-19 Thread Han-Wen Nienhuys
Claus Wilke wrote: Maybe I should have started with this question, but what do you need the notation for? If Mats' trick serves you, then it's ok. Otherwise please let me know, then I will go ahead with adding the sponsored feature. I realized that Mats' trick would work in principle, but I d

Re: Percent repeat sign

2005-08-18 Thread Han-Wen Nienhuys
Claus Wilke wrote: [percent repeats without body] as Mats pointed, it is of course possible to get this, just by putting the last measure of the previous material in the \repeat. Of course, then you can't do \fragment \repeat "percent" 4 { \skip 1 } \otherFragment \repeat "perce

Re: Percent repeat sign

2005-08-18 Thread Mats Bengtsson
Do you want the percent signs already from the firs measure of the piece? Otherwise, just do \repeat percent 5 { previous measure } Isn't this what you actually want to describe anyway? I don't understand what you intend to use it for otherwise. Example, a C major scaled followed by 4 bars of repe

Re: Percent repeat sign

2005-08-17 Thread Han-Wen Nienhuys
Claus Wilke wrote: Hello, is it possible to directly engrave percent repeat signs? As far as I understand, the percent repeat mechanism always first engraves something (notes, rests, etc.), and then engraves bars with repeat signs. I.e., if I do \repeat "percent" 4 { r1 } I get one bar with a

Percent repeat sign

2005-08-17 Thread Claus Wilke
Hello, is it possible to directly engrave percent repeat signs? As far as I understand, the percent repeat mechanism always first engraves something (notes, rests, etc.), and then engraves bars with repeat signs. I.e., if I do \repeat "percent" 4 { r1 } I get one bar with a rest, and then three