lilypond-user
[Top][All Lists]
Advanced

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

Re: Center text over measure


From: Malte Meyn
Subject: Re: Center text over measure
Date: Fri, 11 May 2018 17:45:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0



Am 11.05.2018 um 17:39 schrieb Urs Liska:
Hi all,

somehow I have the feeling this is a stupid question, but I'm unable to find the solution.

Is there a convenient and semantically clean way to center a markup above/below a measure?

I need a solution that doesn't rely on separate contexts (e.g. a Dynamics context above the staff). What *would* be acceptable is a Scheme function that calculates the actual width of the measure and does the centering from that. But since that would probably only be possible in a after-line-breaking callback it would seem quite dirty to move around a markup at that point.

Any suggestions?
Thanks
Urs

MultiMeasureRestText above an invisible MMR? Or have a look at the code that positions those grobs and adapt ;) Another grob that is centered: PercentRepeat.



reply via email to

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