lilypond-user
[Top][All Lists]
Advanced

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

Re: vertical position off piano-staff-name


From: Stefan Thomas
Subject: Re: vertical position off piano-staff-name
Date: Mon, 26 Jul 2010 21:14:36 +0200

Dear Neil,
thanks for Your help, it worked!

2010/7/25 Neil Puttock <address@hidden>
On 25 July 2010 15:33, Stefan Thomas <address@hidden> wrote:
> Dear community,
> in the below quoted example, the placement of the PianoStaff.instrument Name
> is not convincing, in my opinion.
> How can I change it?

Try adding this hack to your `Pedal' definition:

\override VerticalAxisGroup #'meta =
#(let* ((descr (assoc-get 'VerticalAxisGroup all-grob-descriptions))
       (meta (assoc-get 'meta descr))
       (ifaces (assoc-get 'interfaces meta)))
  ;; Adding piano-pedal-interface to this VerticalAxisGroup
  ;; prevents it being acknowledged by Instrument_name_engraver
  (acons 'interfaces (cons 'piano-pedal-interface ifaces)
         meta))

> Has it to do with the dynamics and pedal-contextes?

Yes, the Instrument_name_engraver should ignore the pedal line.  It's
logged here: http://code.google.com/p/lilypond/issues/detail?id=572

Cheers,
Neil


reply via email to

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