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: Sun, 10 Jul 2011 21:51:09 -0500



On Sun, Jul 10, 2011 at 8:06 PM, Matthew Collett <address@hidden> wrote:
With ragged-right (or ragged-last) turned on, music and the staff stop wherever is natural.  With it off, both stretch to the end of the line.  Is there any straightforward way to stop the music at its natural length, but have empty staff lines stretch the full width?

Hi, Matthew --

You could override the width of the staff.  Does this give you what you want?

 \version "2.14.1"

\paper {
  ragged-right = ##t
  ragged-last = ##t
}

\relative c' {
  \override Staff.StaffSymbol #'width = #108
  \repeat unfold 10 { c d e f }
  \bar "||"
}

Best,
David

reply via email to

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