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