Le 26/05/2022 à 17:05, Werner LEMBERG a écrit :
[git f326290b65351]

Please have a look at the attached image.  What must I do to make
the breathe sign 'ignore' the change clef so that the breathe sign
is positioned as if the change clef wasn't there?
Well, having some code certainly helps :-)

```
{ <a' e''>1 \breathe | <g' d''> }

{ <a' e''>1 \breathe \clef alto | <a e'> }
```



There's always this sort of trick:

\version "2.23.9"

fix = \once {
  \override Staff.Clef.break-align-symbol = ##f
  \override Staff.Clef.before-line-breaking =
    #(lambda (grob)
       (let* ((col (ly:grob-parent grob X))
              (break-alignment (ly:grob-object col 'break-alignment)))
       (ly:grob-set-parent! grob X break-alignment)))
  \override Staff.Clef.X-offset = #self-alignment-interface::self-aligned-on-breakable
  \override Staff.Clef.break-align-symbols = #'(staff-bar)
  \override Staff.Clef.self-alignment-X = #1.7
  \override BreathingSign.Y-offset = 3
}

{ <a' e''>1 \breathe | <g' d''> }

{ <a' e''>1 \fix \breathe \clef alto | <a e'> }


Is this canonical presentation though? I find it visually surprising.

Jean


Reply via email to