First of all, try to set the padding of both TextScript and DynamicLineSpanner to zero. That should at least get rid of the misalignment.
/Mats
Yuval Harel wrote:
On Tue, 04 May 2004 14:24:57 +0200, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
Just add the same padding on the TextScript object as on the DynamicLineSpanner.
Thanks, that works perfectly - the "meno f" is exactly aligned with the other dynamics.
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
I tried using the template, and slightly changed the overrides, hoping to get the
markup inside the Dynamics context to behave like the rest of the dynamics:
% \override TextScript #'font-size = #2
% \override TextScript #'font-shape = #'italic
\override DynamicText #'extra-offset = #'(0 . 2.5)
\override TextScript #'extra-offset = #'(0 . 2.5) % not in the original template
\override Hairpin #'extra-offset = #'(0 . 2.5)
But for some reason, the markup is slightly higher than the dynamics.
I can fix this patchily, of course, but I'd prefer to understand what's going on.
Can anyone shed light on this?
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