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: Wilbert Berendsen
Subject: Re: Ragged right for contents but not staff?
Date: Mon, 11 Jul 2011 16:35:56 +0200

This is what I use:

#(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
  }
}

And to place an ending bar line on the end of the last line I use the
alignGrob trick posted to this list sometime ago:

http://old.nabble.com/Re%3A-left-aligning-grobs-to-other-grobs-p31138286.html

-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)




reply via email to

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