TiagoM wrote:
What if there are 2 markup's on the same note, one centered aligned and the
other not? If you could \override the setting inside the markup it wouldn't
affect the non centered markup. Is there really no solution for this? Should
we ask a feature that \hcenter should be centered wi
Mats Bengtsson-4 wrote:
>
> TiagoM wrote:
>
>> ...
>>
>>This is what I was looking for. But not yet all of it. I'd like to have
the
>>text centered on the note head only when the text itself is centered (when
>>using \hcenter or \center-align or \halign #0).
>>
>>Is it possible to add this \ov
TiagoM wrote:
...
This is what I was looking for. But not yet all of it. I'd like to have the
text centered on the note head only when the text itself is centered (when
using \hcenter or \center-align or \halign #0).
Is it possible to add this \override property writen above inside a
\markup{}
Mats Bengtsson-4 wrote:
>
> However, if I understand correctly, the question was about the
> alignment point of the note, not of the text itself. You can get
> it centered on the note head by the setting:
>
> \override TextScript #'X-offset =#(ly:make-simple-closure
> `(,
Arjen Bax wrote:
TiagoM gmail.com> writes:
How can one align a \markup with the center of the notehead instead of it's
left edge?
Use \halign:
\version "2.10.20"
{
c''^\markup{\halign #0 "Centered"}
}
See
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Overview-of-text
TiagoM gmail.com> writes:
> How can one align a \markup with the center of the notehead instead of it's
> left edge?
Use \halign:
\version "2.10.20"
{
c''^\markup{\halign #0 "Centered"}
}
See
http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Overview-of-text-markup-commands#Overview