[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vertical ordering of a custom event-function markup
From: |
Urs Liska |
Subject: |
Re: vertical ordering of a custom event-function markup |
Date: |
Wed, 10 Oct 2018 10:25:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Am 09.10.2018 um 22:40 schrieb Thomas Morley:
Probably:
indicator =
#(define-event-function ()()
#{
\tweak X-offset 0.75
-\markup \path #0.17 #'((moveto 0 0) (lineto 0 0.75))
#})
\relative {
\override TextScript.avoid-slur = #'inside
\override TextScript.cross-staff = ##t
Huh, what is that?
I've found the description in the grob-interface reference but I don't
really understand what it does here ...
d''4 e8 [ ^\indicator ( e ] ^\indicator )
d8 [ -. ( d ] -. )
}
On first sight it does exactly what I wanted it to do (see first attachment)
Not sure about the consequences, though.
The consequence is that the markup doesn't move to avoid collisions (see
second attachment with lower notes).
If I comment out the cross-staff tweak again the lines move with the
note heads, but of course the order changes again.
Thank you for these thoughts and inspiration :-) But please don't
investigate any further, it seems Aaron's suggestion is what I need.
Urs
document.png
Description: PNG image
document.png
Description: PNG image