lilypond-user
[Top][All Lists]
Advanced

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

function to place markup in the same staff-position of the notehead?


From: josé henrique padovani
Subject: function to place markup in the same staff-position of the notehead?
Date: Wed, 02 Jun 2010 18:04:19 -0300
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; pt-BR; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

Hi,

I want to write a function to place markups (like \postscript blocks) just after (but in the same Y-offset) my noteheads...

I know I have to use something like that to allow the TextScript to be inside the Staff, etc...
\once \override TextScript #'outside-staff-priority = ##f
\once \override TextScript #'side-axis = #0
\once \override TextScript #'direction = #CENTER
\once \override TextScript #'X-offset = #2

But how do I get the staff-position of a note and use it to adjust the Y-offset of my markups? (is it the ly:grob-staff-position function?)
And how do I set a function to do that?

Any help is appreciated...

josé

--
http://zepadovani.info




reply via email to

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