Hi Caio,
I'm not sure if there's a way to customize the coded order of accidentals,
and for some reason tweaking the X-offset property doesn't seem to work
either. In your case, making a couple of manual tweaks to the flat's and
double-flat's extra-offset properties (which are added after all the
positioning calculation is done) will at least get them in order. The only
downside is that there's extra space between the accidentals and the
barline, left over from calculating the accidentals' original positions.
I'm not sure how to get rid of that...
\relative c' {
<c ges' beses d!>1
<c! \tweak Accidental.extra-offset #'(2.2 . 0) ges' \tweak
Accidental.extra-offset #'(-0.6 . 0) beses d!>1
}
Hope this helps,
Owen
On Wed, May 20, 2020 at 8:06 AM Caio Barros <[email protected]> wrote:
> Hello,
>
> In the example below:
>
> \relative c' {
> <c ges' beses d!>1
> <c! ges' beses d!>1
> }
>
> Notice the difference in the position of the flat symbol in the G-flat.
> For me, particularly, I find the first chord much more clean: after the
> double flat, closet to the note (and it occupies less space). Is there a
> way to change the position of the flat symbol? I was unable to find it in
> the documentation.
>
> Also, I thought that Lilypond decided to move the flat further to the left
> because part of the natural sing in the C note would collide with it, but
> changing the size of the accidentals with somethin like
>
> \override Accidental.font-size = #-3
>
> Doesn't seem to make a difference.
>
> Caio
>