> I don’t know of a way to set “ragged-right = ##t” for the notes only
> [and not the StaffSymbol], but maybe someone out there does…?

In 2011, 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
  }
}

I would use:

\layout {
  ragged-right = ##t
  \context {
    \Score
    \override StaffSymbol.width = #fixed-staff-width
  }
}

Toine Schreurs

Reply via email to