Re: Vertical spacing between wordwrap items within markup column

2023-04-14 Thread Valentin Petzel
Hello all, you can also create a small scheme function to split a string into a list of strings, which you can then pass to \wordwrap-lines or whatever. Note though that this is not equivalent: \wordwrap-strings will handle the concept of paragraphs, which in this setting would simpy be discard

Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Jean Abou Samra
Le jeudi 13 avril 2023 à 16:20 -0600, Benjamin Bruce a écrit : > I think using \pad-around will work best in my case. The reason I'm using > \wordwrap-string is because I am passing a string via a variable. Thanks for > your help, and I'm glad this has resulted in an improvement to the > documen

Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Jean Abou Samra
Le jeudi 13 avril 2023 à 10:54 +, Werner LEMBERG a écrit : > Anyway, your explanation was quite helpful; I will update the > documentation to mention that the baseline of a `\wordwrap-string` > object is the baseline *of the first line*. Well, it's not just with `\wordwrap-string` but also muc

Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Benjamin Bruce
I think using \pad-around will work best in my case. The reason I'm using \wordwrap-string is because I am passing a string via a variable. Thanks for your help, and I'm glad this has resulted in an improvement to the documentation :) 𐑪𐑯 2023-04-13 𐑨𐑑 04:54, Werner LEMBERG 𐑮𐑴𐑑: >>> This smells

RE: RE: Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread juergen . gruen
2023 11:13 Uhr An: w...@gnu.org, benja...@koine.gr Kopie: lilypond-user@gnu.org Betreff: RE: Re: Vertical spacing between wordwrap items within markup column > > Maybe I'm missing something here, but how can I make the space > > between items in a markup column regular? As you can

Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Werner LEMBERG
>> This smells like a bug: `\wordwrap-string` returns a bunch of lines >> spaced by `baseline-skip`, but no such skip is applied after the >> last line, for whatever reason. > > Why would it be applied after the last line? Oh, I didn't mean that `\wordwrap-string` actually should insert such a

Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Werner LEMBERG
> btw: why is it named "baseline-skip" and not "baseline-distance"? This is historical: LilyPond's origins are with TeX, and a 'skip' in TeX is a stretchable and/or compressable whitespace (either horizontal or vertical).[0] The baseline-to-baseline distance is such a skip in TeX; the correspon

Re: Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Jean Abou Samra
Le jeudi 13 avril 2023 à 09:13 +, juergen.gr...@xyz.de a écrit : > "\column args (markup list)Stack the markups in args vertically. The property > baseline-skip determines the space between markups in args." > > So is it a bug in \column rather than in \wordwrap-string? No bug here, although

Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Jean Abou Samra
Le jeudi 13 avril 2023 à 05:11 +, Werner LEMBERG a écrit : > This smells like a bug: `\wordwrap-string` returns a bunch of lines > spaced by `baseline-skip`, but no such skip is applied after the last > line, for whatever reason. Why would it be applied after the last line? Other spacing mech

Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread Jean Abou Samra
Le mercredi 12 avril 2023 à 21:48 -0600, Benjamin Bruce a écrit : > Maybe I'm missing something here, but how can I make the space between items > in a markup column regular? As you can see in the example, if the text is > short so that there is no wrapping necessary, the space is fine. But the "

RE: Re: Vertical spacing between wordwrap items within markup column

2023-04-13 Thread juergen . gruen
> Maybe I'm missing something here, but how can I make the space > between items in a markup column regular? As you can see in the > example, if the text is short so that there is no wrapping > necessary, the space is fine. But the "a a a" item does wrap around > and overlaps a bit with the "b b b

Re: Vertical spacing between wordwrap items within markup column

2023-04-12 Thread Werner LEMBERG
> Maybe I'm missing something here, but how can I make the space > between items in a markup column regular? As you can see in the > example, if the text is short so that there is no wrapping > necessary, the space is fine. But the "a a a" item does wrap around > and overlaps a bit with the "b b

Vertical spacing between wordwrap items within markup column

2023-04-12 Thread Benjamin Bruce
Maybe I'm missing something here, but how can I make the space between items in a markup column regular? As you can see in the example, if the text is short so that there is no wrapping necessary, the space is fine. But the "a a a" item does wrap around and overlaps a bit with the "b b b" item o