On 2025-05-30 14:14, James Dietrich wrote:

But I still think that there's a problem with \fill-line. I don't think
it should cause the word "Composer" to protrude past the end of the
staff when there is plenty of room for it to fit properly right-aligned
to the end of the staff.

   Yes, this is definitely a flaw in the current implementation of
   \fill-line. If the first markup is so long that it extends beyond the
   end of the next markup, the final markup of the line will be pushed to
   the right, so that the full result of \fill-line is longer than
   line-width, as illustrated in the following example.

   \version "2.25.25"

   \markup \typewriter "\\fill-line:"
   \markup\fill-line{ "|Left" "Middle" "Right|" }
   \markup\fill-line{ "|Leeeeeeeeeeeeeeeeeeeeeeeeeeeeeeft" "Middle"
   "Right|" }
   \markup \typewriter "\\justify-line:"
   \markup\justify-line{ "|Leeeeeeeeeeeeeeeeeeeeeeeeeeeeeeft" "Middle"
   "Right|" }

   As can be seen in this example justify-line behaves correctly.

      /Mats

Reply via email to