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: Wed, 25 Aug 2010 11:44:09 +0200

Dear community,
I have once again a problem with the vertical Position of the shortInstrumentName of the  PianoStaff.
In the below quoted example it should dissapper in bar 7, and at the beginning it is too high!
Is there a possibility to change this behaviour?
Thanks,
Stefan

2010/7/26 Stefan Thomas <address@hidden>
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]