Thank you Thomas (and Simon!), it works great.

Best regards, g.


On 21 May 2017 at 22:38, Thomas Morley <thomasmorle...@gmail.com> wrote:

>
>
> 2017-05-18 12:34 GMT+02:00 Simon Albrecht <simon.albre...@mail.de>:
>
>> Am 18.05.2017 um 09:58 schrieb Gianmaria Lari:
>>
>>> Is there any way to put a footnote on a repeat percent-like symbols?
>>>
>>
>> Well, there should be. After all, the documentation for \footnote speaks
>> also of indirectly created grobs. However, I can’t say why
>>
>> \version "2.19.58"
>> {
>>   \context Bottom <<
>>     \repeat percent 2 { c16 d e f }
>>     { s4 \single\footnote #'(1 . 5) "test" PercentRepeat s }
>>   >>
>> }
>>
>> doesn’t work…
>>
>> Best, Simon
>>
>
> The grob is not PercentRepeat but RepeatSlash, so below works.
>
> \repeat percent 2 { c16 d e f \footnote #'(1 . 5) "test" RepeatSlash }
>
> It's not always obvious which grob is created by \repeat percent ...
> RepeatSlash
> DoubleRepeatSlash
> PercentRepeat
> DoublePercentRepeat
> are all possible, iirc.
>
> So I usually check with
> \override grob-name-to-test . color = #red
> before.
>
> Cheers,
>   Harm
>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to