Simon Albrecht <[email protected]> writes:
> On 24.10.19 18:33, Ben wrote:
>> Is it possible to whiteout hairpins?
>
> Of course—the real problem here is that you have to make the hairpin
> ignore the markup for its placement. Here’s a fidgety solution:
>
> %%%%%%%%%%
> \version "2.19.83"
>
> placeAbsolute = #(define-event-function (xy ev) (pair? ly:music?)
> #{
> \tweak whiteout ##t
> \tweak outside-staff-priority ##f
> \tweak Y-offset 0
> \tweak extra-offset $xy
> $ev
> #})
Worth mentioning that if you have 2.19.83, the above can be written as
placeAbsolute = -\tweak whiteout ##t
-\tweak outside-staff-priority ##f
-\tweak Y-offset 0
-\tweak extra-offset
\etc
--
David Kastrup