[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fingering collision with tempo when using cross-staff beams
From: |
Jean Abou Samra |
Subject: |
Re: Fingering collision with tempo when using cross-staff beams |
Date: |
Wed, 5 Jan 2022 21:52:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 |
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