I am missing something basic, I spent hours searching for docs for no avail. Sometimes LilyPond can be really frustrating.
Look at this picture:
Obviously, ppp overlaps with the bar line. According to documentation, I tried using DynamicText.extra-spacing-width
, but it has zero effect. Here's the code:
\version "2.22.1"
\language "italiano"
common = {
\key sol \minor
\time 4/4
\tempo "Largo [Широко]"
}
right = \relative do'' {
\key sol \major
sol8 (fad re mi sol fad re4) |
sol8 (fad re mib sol fad re4)
}
left = \relative do' {
\key sol \major
sol,8 (re' si' re,) sol, (re' do' re,) |
sol, (re' sib' re,) sol, (re' do' re,) |
}
dynamics = {
s1 |
\override DynamicText.extra-spacing-width = #'(-1 . 1)
s8 \ppp s8 s8 s8 s8 s8 s4
}
\score {
\new PianoStaff <<
\new Staff = "right" \right
\new Dynamics \dynamics
\new Staff = "left" { \clef bass \left }
>>
}
If I move \override ...
right in the front of \ppp
, it doesn't overlap, but LilyPond complains then with "Unattached AbsoluteDynamicEvent".