lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the car or cdr of a pair


From: David Kastrup
Subject: Re: Changing the car or cdr of a pair
Date: Mon, 25 Dec 2017 19:01:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> Menu Jacques <address@hidden> writes:
>
>> Hello folks,
>>
>> The edge-height pair can be given a value with:
>>
>>      \once \override Staff.LigatureBracket.edge-height = #'(0 . +0.7) 
>>
>> but how can I change only one of the members of the pair, leaving the
>> other one as it is?
>
> \once \override Staff.LigatureBracket.edge-height =
> #(grob-transformer 'edge-height
>   (lambda (grob original)
>    (cons 0.3 (cdr original))))
>
> For example.

Malte's suggestion to use \offset does something similar internally and
employs a nicer user interface.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]