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)


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to