lilypond-user
[Top][All Lists]
Advanced

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

Re: Ragged right for contents but not staff?


From: David Nalesnik
Subject: Re: Ragged right for contents but not staff?
Date: Mon, 11 Jul 2011 14:20:35 -0500


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 

reply via email to

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