Re: Fingering collision with tempo when using cross-staff beams

2022-01-06 Thread Valentin Petzel
A quick workaround:

\version "2.23.5"

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

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

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

right = \relative c'' {
  \global
  \once\override Fingering.cross-staff = ##f
  8-2-4 \goDown  \goUp  \goDown d,4.->_5 |

}

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

}

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

signature.asc
Description: This is a digitally signed message part.


Re: Fingering collision with tempo when using cross-staff beams

2022-01-05 Thread Jean Abou Samra

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
  8-2-4 \goDown  \goUp  \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
  8-2-4 \goDown  \goUp  \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






Fingering collision with tempo when using cross-staff beams

2022-01-05 Thread Michael Rivers
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
  8-2-4 \goDown  \goUp  \goDown d,4.->_5 |

}

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

}

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