[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hairpin whiteout problem
From: |
Simon Albrecht |
Subject: |
Re: Hairpin whiteout problem |
Date: |
Thu, 24 Oct 2019 23:14:30 +0200 |
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
#})
\relative c'
{
c2 d e\< f g-\placeAbsolute #'(0 . -4) _"C" f\! e d c
}
%%%%%%%%%%%
HTH, Simon