lilypond-user
[Top][All Lists]
Advanced

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

Re: storing and manipulating multi-chunk texts


From: Urs Liska
Subject: Re: storing and manipulating multi-chunk texts
Date: Wed, 26 Feb 2014 07:30:31 +0100
User-agent: K-@ Mail for Android

I'd say two functions should work: both iterate over the stringlist, One simply concats them, the other outputs multiple lines. As argument you provide a variable defined before.

Does that work?

Kieren MacMillan <address@hidden> schrieb am 26.02.2014:
Hello all,

Hopefully this is a “softball”…

I often have long-ish composition titles like "Two Ukrainian Courting Tunes: A Minuet & Scherzo”. When I am putting the title in the header (e.g., at the top of the score), I'd like it in a single line; when it’s used in the bookTitleMarkup and scoreTitleMarkup, I’d like it split [naturally] into its two lines.

Of course, I could write it out in several different variables and manipulate each of them individually. Or I could fuss with non-breaking spaces and the like. But I’d rather not.

I’d rather do something like

title = #'(Two Ukrainian Courting Tunes:" "A Minuet & Scherzo”)

and then be able to say

\markup \one-line \title
\markup \multi-line \title

or whatever.

What do people see as the most flexible, least user-unfriendly way of storing and outputting such things?
Ideally, this would scale well to texts of three and more lines.

Thanks,
Kieren.


lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

-- Diese Nachricht wurde mit K-@ Mail gesendet.
reply via email to

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