Le 16/02/2022 à 15:26, Kieren MacMillan a écrit :
Hi Aaron,

There are a number of grobs that normally have no visual representation. You 
could attach your content there
This is really clever!
Can you imagine *any* possible downside to this approach?


I think it depends on the use case. For debugging, this is just
perfect.  For adding text positioned manually, I would use something
else.  LilyPond has its own debugging hooks that use this method (such
as ly:paper-column::print) so the two will interfere if you try to use
these hooks. Also, I wouldn't consider the position of such internal objects
super stable; for example it might simplify the code at some point to
make the reference point of the last NonMusicalPaperColumn in the line
placed on the left like all other NonMusicalPaperColumns, and not on
the right like it is currently. Another thing to consider is that you
cannot have several pieces of text on several layers with this method.
For text that ends up in the actual score, I would use the good old
method <>^\markup \with-dimensions #empty-interval #empty-interval ...


Cheers,
Jean


Reply via email to