On Mon, Jul 11, 2011 at 1:53 PM, Matthew Collett
<address@hidden> wrote:
On 12/07/2011, at 2:35 am, Wilbert Berendsen wrote:
> #(define (fixed-staff-width grob)
> (ly:output-def-lookup (ly:grob-layout grob) 'line-width))
>
> \layout {
> ragged-right = ##t
> \context {
> \Staff
> \override StaffSymbol #'width = #fixed-staff-width
> }
> }
That looks uncannily identical to David's solution, apart from giving it a name (which is a good idea). Perhaps it deserves to be a snippet?
I also think that the name is a good idea.
Besides being useful for the chant application, I think it could be used for making exercises along the lines of "given this opening, continue the melody" without doing trial-and-error to get a good spacing.
Best,
David