lilypond-user
[Top][All Lists]
Advanced

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

Re: centralising markups above notes


From: Gilberto Agostinho
Subject: Re: centralising markups above notes
Date: Fri, 9 Apr 2021 19:48:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0

Hi Jean,

On 09/04/2021 15:36, Jean Abou Samra wrote:
What you are doing is more or less the proper
way. Objects have two parameters for alignment
because it should depend on both the extents of
the aligned object and its parent. This was
briefly discussed in this recent thread:

https://lists.gnu.org/archive/html/bug-lilypond/2021-02/msg00016.html

For what it's worth, you can do

center = \tweak parent-alignment-X 0 \tweak self-alignment-X 0 \etc

and then it's a matter of

{
    d''1\center ^"III."
}

Thank you so much for the reply. It's good to know this is basically the right way of doing things, I will use your suggested approach of combining multiple tweaks on a single variable and use it in the score as in your example.

Many thanks,
Gilberto




reply via email to

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