lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: word-wrapping in a markup column


From: Abraham Lee
Subject: Re: word-wrapping in a markup column
Date: Tue, 5 Feb 2019 11:35:46 -0700

Hi, David!

On Tue, Feb 5, 2019 at 11:14 AM David Nalesnik <address@hidden> wrote:
Hi all,

This snippet leaves no space between the word-wrapped items:

 \version "2.19.82"

\markup \override #'(line-width . 10) \column {
  \wordwrap { a a a a a a a a a a a a a a a a a a a a }
  \wordwrap { b b b b b b b b b b b b b b b b b b b b }
  \wordwrap { c c c c c c c c c c c c c c c c c c }
}

Is there a way to allow lines in such a column to break if needed but
maintain even spacing between all lines?  Any help is much
appreciated, as this problem has plagued me for a long time.

I have almost no experience with the following, so I can't comment on its robust-ness, but it appears to do what you want:

\version "2.19.82"

\markup {
  \override #'(line-width . 10) 
  \override #'(baseline-skip . 3)  %<--- All lines seem to be responsive to this now
  \column {
    \wordwrap-internal ##f { a a a a a a a a a a a a a a a a a a a a }
    \wordwrap-internal ##f { b b b b b b b b b b b b b b b b b b b b }
    \wordwrap-internal ##f { c c c c c c c c c c c c c c c c c c }
  }
}

It wraps differently when the boolean is ##t. Again, I can't be held accountable for how this will affect your situation (lol), but maybe that points in the right direction?

HTH,
Abraham

reply via email to

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