As english isn't my native language I'm not sure to find the right words.
Manual says it "computes the width of an object" (see:
http://lilypond.org/doc/v2.19/Documentation/extending/callback-functions.html
).
With "my" words I'd say that it'll help you to add or reduce the space
before and/or after a grob.

Cheers,
Pierre

2015-02-06 20:08 GMT+01:00 James Worlton <jworl...@gmail.com>:

> Thanks, Pierre. That's exactly what I'm looking for. So what does the
> ParenthesesItem X-extent do?
>
> James W
>
> On Fri, Feb 6, 2015 at 12:49 PM, Pierre Perol-Schneider <
> pierre.schneider.pa...@gmail.com> wrote:
>
>> Hi James,
>>
>> I understand the idea but I thing you missunderstand the X-extent effect.
>> If I follow you, you'd rather extent the note head.
>> So here it goes :
>>
>> \version "2.19.15"
>>
>> parenWider = {
>>   \once\override NoteHead.X-extent = #'(-1.5 . 1.3)
>>   \once\override Accidental.X-extent = #'(1.5 . 0)
>>   \once\override Accidental.extra-offset = #'(1.5 . 0)
>> }
>>
>> \score {
>>   \new Staff { \parenWider \parenthesize fis'4 }
>> }
>>
>> HTH,
>> Pierre
>>
>> 2015-02-06 19:36 GMT+01:00 James Worlton <jworl...@gmail.com>:
>>
>>> Hi all,
>>>
>>> I"m trying to widen the parentheses so the left brace doesn't collide
>>> with the sharp. The code I'm trying isn't working. Is this possible?
>>>
>>> \version "2.19.15"
>>>
>>> parenWider = {
>>>   \once \override ParenthesesItem #'X-extent = #'(-8 . 0)
>>> }
>>>
>>> \score {
>>>   \new Staff { \parenWider \parenthesize fis'4 }
>>> }
>>>
>>> Thanks,
>>> James Worlton
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> lilypond-user@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>>
>>
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to