[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: storing and manipulating multi-chunk texts
From: |
David Kastrup |
Subject: |
Re: storing and manipulating multi-chunk texts |
Date: |
Wed, 26 Feb 2014 06:58:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Kieren MacMillan <address@hidden> writes:
> 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”)
Missing " in obvious place.
> and then be able to say
>
> \markup \one-line \title
\line instead of \one-line
> \markup \multi-line \title
\center-column instead of \multi-line
--
David Kastrup