Arf, I'm still struggling : dals = \tweak DynamicText.self-alignment-X #LEFT #(make-dynamic-script #{ \markup \normal-text \center-column { \override #`(direction . ,UP) \dir-column { "smol" "Very very very tol" } medium } #})
I also want to center horizontally (here, the first and second line are left-aligned, and the third is centered). @Hwaen : your solution gives a weird "horizontal" alignment, the "11" and "13" are on the left, and the "12" is flushed right, but I appreciate the effort, thank you :) On Sun, Aug 30, 2020 at 10:53 PM Claire Meyer < claire.meyer.bourhis.lilyp...@gmail.com> wrote: > Wow, thank you very much for the comprehensive exemple ! > > Claire > > On Sun, Aug 30, 2020 at 10:46 PM Aaron Hill <lilyp...@hillvisions.com> > wrote: > >> On 2020-08-30 1:29 pm, Claire Meyer wrote: >> > Thank you very much ! Would you know as well how to center it >> > vertically on >> > the second line ? >> >> Depending on what you are doing, \vcenter \column { ... } might work. >> >> Alternately, you could use a combination of \column and \dir-column. >> Consider: >> >> %%%% >> \version "2.20.0" >> >> \markup { >> baseline > >> >> \column { 1 2 3 } >> >> \column { >> \override #`(direction . ,UP) >> \dir-column { 2 1 } >> 3 >> } >> >> \override #`(direction . ,UP) >> \dir-column { 3 2 1 } >> >> < > >> >> \vcenter \column { 1 2 3 } >> >> < baseline >> } >> %%%% >> >> The last example shows how \vcenter does not quite align the same as the >> other option. But again, it might not matter in context so it is worth >> trying as it is simpler. >> >> >> -- Aaron Hill > >