lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Piano


From: Mats Bengtsson
Subject: Re: Piano
Date: Thu, 06 May 2004 10:51:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

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 <address@hidden> 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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]