Hi all,

I noticed that in LP 2.14.2, dynamics and hairpins attached to rests
(r or s) are slightly out of alignment when compared to dynamics and
hairpins attached to notes.

See attached ex. A

%%%%%% EXAMPLE A %%%%%%
musicOne = { a'4\< ~ a'\pppp ~ a'\> r4\! }
dynamics = { r4\< r\pppp r\> r\! }

\score {
        <<
                \new Staff { \musicOne }
                \new Staff { \dynamics }
        >>
        \layout {
                ragged-right = ##f
        }
}
%%%%%% %%%%%% %%%%%%

This leads to misaligned hairpins between different staves, if one
attaches hairpins to (hidden) spacer rests in order to specify the
duration of each hairpin, as explained here:

http://lilypond.org/doc/v2.14/Documentation/notation/expressive-marks-attached-to-notes#dynamics


%%%%%% EXAMPLE B %%%%%%
musicOne = { a'4\< ~ a'\pppp ~ a'\> r4\! }
musicTwo = { a'2. r4 }
dynamics = { s4\< s\pppp s\> s\! }

\score {
        <<
                \new Staff { \musicOne }
                \new Staff { << \musicTwo \dynamics >> }
        >>
        \layout {
                ragged-right = ##f
        }
}
%%%%%% %%%%%% %%%%%%

The attached examples are quite simple, in my score with more complex
music, such behavior leads to quite strange situations.

Am I right and if so, which would be the easiest solution?

Thank you,
T

<<attachment: example_A.png>>

<<attachment: example_B.png>>

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to