I found this weird behaviour if Trill (on right hand) and SustainDown (on left hand) are used simultanously on the first measure of a piano staff. Take the example below: the trill is not centered with the note head as it would be without the \sustainDown on bottom staff. I used a tweak with: _\markup {\musicglyph #"pedal.Ped" \hspace #-1.4 "."} Please note that the \musicglyph of the Pedal has no "dot" as the sustainDown, so I had to add that \hspace #-1.4 "." piece. If there is a command for Ped with a "dot" let me know, because I haven't seen it on the list. If not, it may be a good idea to add it. This way the Ped. is not well aligned, but if I use \hspace inside the markup to move it on the left, I have the very same problem with the trill on top staff. Therefore I used this override: \once \override TextScript #'extra-offset = #'( -2.0 . 0.0 ) And now it looks OK.
%%%begin lilypond code%%% \version "2.11.40" \include "english.ly" upper = \relative c'' { \clef treble \key ef \major \time 12/8 f4.^\markup { \finger "23" }\startTrillSpan \grace { e16\stopTrillSpan ([f16] } g8-.-3) g-4 (d-1) ef4.-2 (c-1) } lower = \relative c { \clef bass \key ef \major \time 12/8 bf8-.\sustainDown <f' d'!> (<bf d af'>)\sustainUp b,-.\sustainDown <g' f'> (<d' f g>)\sustainUp c,-.\sustainDown <g' ef'> (<c ef g>)\sustainUp c,-.\sustainDown <gf' ef'> (<c ef gf>)\sustainUp %7 } \score { \new PianoStaff << \set PianoStaff.instrumentName = "Piano " \new Staff = "upper" \upper \new Staff = "lower" \lower >> \layout { \context { \Score \override NonMusicalPaperColumn #'line-break-system-details = #'((alignment-offsets . (0 -13))) } } \midi { } } %%%end lilypond code%%% -- View this message in context: http://www.nabble.com/Strange-Pedal-and-Trill-behavior-maybe-a-bug--tp15590813p15590813.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user