lilypond-user
[Top][All Lists]
Advanced

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

Re: Can \markuplist prduce uneven width columns?


From: Peter Toye
Subject: Re: Can \markuplist prduce uneven width columns?
Date: Wed, 27 Nov 2019 17:42:21 +0000

Phil,

Good idea. But in terms of the extra work involved it's about the same, and IMHO less transparent, so I'll stick with altering the property for each wordwrap. I can probably put it into a function if I get bored.

Best regards,

Peter
mailto:address@hidden
www.ptoye.com

-------------------------
Wednesday, November 27, 2019, 4:02:24 PM, Phil Holmes wrote:


If you don't want to alter baseline-skip, you could use combine and vspace:
 
\version "2.19.52"
 
\language "english"
 
\markuplist {
   \override #'(line-width . 80)
   \override #'(padding . 5)
   \override #'(baseline-skip .  2.5)
   \table #'(-1 -1)
   {
     \wordwrap {Bar 27}
     \wordwrap {This text is hopelessly garbled in the sources, which are also mutually inconsistent.
                The editor has produced what he hopes is a performable version.}
     \wordwrap {Bar 29}
     \combine \wordwrap { "in tempo" aligned but probably best on 6/16 (in neither of the primary sources).
                 On experiment this has been found to work best} \vspace #1
   }
 }
 

--
Phil Holmes
 
 

----- Original Message -----
From: 
Peter Toye
To: Phil Holmes; address@hidden
Sent: Wednesday, November 27, 2019 3:31 PM
Subject: Re: Can \markuplist prduce uneven width columns?

Phil,

Thanks - I've just found that out. There's an unwelcome interaction between \table and \wordwrap in that the same property - baseline-skip - is used to control both the distance between the lines of wordwrapped text and the distance between the table rows. The defaults give horrible results. So I have to keep on adjusting the value of the property which is a pain :(

\version "2.19.52"

\language "english"

\markuplist {
  \override #'(line-width . 80)
  \override #'(padding . 5)
  \override #'(baseline-skip .  5)
  \table #'(-1 -1)
  {
    \wordwrap {Bar 27}
    \override #'(baseline-skip . 2)
    \wordwrap {This text is hopelessly garbled in the sources, which are also mutually inconsistent.
               The editor has produced what he hopes is a performable version.}
    \wordwrap {Bar 29}
    \override #'(baseline-skip . 2)
    \wordwrap { "in tempo" aligned but probably best on 6/16 (in neither of the primary sources).
                On experiment this has been found to work best}
  }
}

Best regards,

Peter
mailto:address@hidden
www.ptoye.com

-------------------------
Wednesday, November 27, 2019, 3:14:27 PM, Phil Holmes wrote:


According to the NR, \wordwrap does what you have described: http://lilypond.org/doc/v2.19/Documentation/notation/formatting-text#text-alignment

--
Phil Holmes
 

reply via email to

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