Le 05/01/2022 à 20:59, Michael Rivers a écrit :
The fingering here collides with the tempo. If the cross-staff beams are commented out (all notes on the upper staff), the fingering displays fine.

Is there a workaround? Am I doing something wrong?

\version "2.23.5"

global = {
  \time 6/8
  \tempo "Allegro"
}

goUp = { \change Staff = "right"
         \stemDown
}

goDown = { \change Staff = "left"
           \stemUp
}

right = \relative c'' {
  \global
  <b g>8-2-4 \goDown <e, g> \goUp <b' g> \goDown d,4.->_5 |
}

left = \relative c' {
  \global
  s2. |
}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \left }
  >>
}



I've just added this bug to the tracker here:

https://gitlab.com/lilypond/lilypond/-/issues/6250

You can work around it by positioning the tempo mark yourself, adjusting its Y-offset:

\version "2.23.5"

global = {
  \time 6/8
  \once \override Score.MetronomeMark.Y-offset = 6
  \tempo "Allegro"
}

goUp = { \change Staff = "right"
         \stemDown
}

goDown = { \change Staff = "left"
           \stemUp
}

right = \relative c'' {
  \global
  <b g>8-2-4 \goDown <e, g> \goUp <b' g> \goDown d,4.->_5 |

}

left = \relative c' {
  \global
  s2. |

}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \left }
  >>
}

See this for more information:

https://lilypond.org/doc/v2.22/Documentation/notation/aligning-objects.html#setting-x_002doffset-and-y_002doffset-directly

Best,
Jean




Reply via email to