lilypond-user
[Top][All Lists]
Advanced

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

Re: centering note columns [WAS: Directional NoteHead Stencil Support]


From: David Nalesnik
Subject: Re: centering note columns [WAS: Directional NoteHead Stencil Support]
Date: Sun, 22 Mar 2015 19:07:27 -0500

Hi Kieren,

On Sun, Mar 22, 2015 at 3:32 PM, Kieren MacMillan <address@hidden> wrote:
Hi David,

As always, great work! I will use this on all my scores, once it’s “perfect”.

:)
 

In the meantime, it doesn’t distinguish cases where centering *shouldn’t* be applied, e.g.

\new PianoStaff <<
  \new Staff {
    <c' e' g' c''>1\accent\fermata\f\arpeggio
    c'4 d' e' f'
    R1
  }
  \new Staff {
    R1
    R1
    <c' e' g' c''>1\accent\fermata\f\arpeggio
  }
  \new Staff {
    c'4 r r2
  }
>>

Ah...that's because paper-columns encompass multiple staves...  And thus is dashed all hope of simplicity...
 

Is there a way to:
    (a) have the function automatically check all staves in the current system, and only enable centering if there are only multi-measure rests, full-measure notes, or skips/blank; and/or

Try the attached out.  It will only center an object if the contents of all staves can reasonably be centered.
 
    (b) manually enable or disable the function on a per-measure basis?


Not sure about this.  It would be easy, of course, to define shortcuts for \override/\once \override/\revert and the like, but I fear you have something more difficult in mind :)

--David

 

Attachment: center-column2.ly
Description: Text Data


reply via email to

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