Just add the same padding on the TextScript object as on the
DynamicLineSpanner.

For an alternative solution, you could take a look at the template
file piano-dynamics.ly at
http://lilypond.org/doc/v2.2/input/template/out-www/collated-files.html

/Mats

Yuval Harel wrote:
Hi,

I've just started using LilyPond, and got into some trouble trying to insert dynamics to a piano piece.

Right now I'm attaching the dynamics to the right-hand staff and using DynamicLineSpanner to set them apart from the staff, to a position where they are more or less aligned. Like so:

    \new Staff {
        \override DynamicLineSpanner #'staff-padding = 4
        <<
            \RightHand
            \Dynamics
        >>
    }

Then I wanted to add a "meno f", following the tip in the documentation (dynamic-extra.ly):
\markup { \italic "meno" \dynamic "f" }
but that doesn't get aligned with the dynamics. I couldn't find anything to do that in the documentation except \raise, which I couldn't get to work.


How do I align the "meno f" with the rest of the dynamics?

Thanks,
    Yuval



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-use
r

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to