lilypond-user
[Top][All Lists]
Advanced

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

Re: Add text to score without affecting spacing


From: Jean Abou Samra
Subject: Re: Add text to score without affecting spacing
Date: Thu, 17 Feb 2022 22:12:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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

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