lilypond-user
[Top][All Lists]
Advanced

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

Re: Combining lyric variables


From: Marc Hohl
Subject: Re: Combining lyric variables
Date: Thu, 21 Jul 2011 07:24:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

Am 20.07.2011 11:24, schrieb Jan-Peter Voigt:
Hi Marc,

you can simply combine the lyrics in another \lyricmode:
--snip--
textA = \lyricmode {
  A b -- c
}
textB = \lyricmode {
  d e -- f
}
textC = \lyricmode {
  \textA \textB
}

\markup {
  \verse #textC
}
--snip--

So the \whatsoever is just:
fulltext = \lyricmode { \textOne \textTwo \textThree }
Thank you!
I once again overlooked the obvious ... :-/

Regards,

Marc

Cheers,
Jan-Peter

On 20.07.2011 11:08, Marc Hohl wrote:
Hello list,

I use the snippet http://lsr.dsi.unimi.it/LSR/Item?id=744 extensively in my
latest project.

Due to the structure of the music, I have a lot of small text snippets like

textOne = \lyricmode { This is an ex -- am -- ple }
textTwo = \lyricmode { and this one, too! }
textThree = ...

which I use in combination with music and as a standalone text edition
with LSR 744, as mentioned above.

Is it possible to concatenate lyrics into a new variable?

Instead of

\markup { \verse #textOne }
\markup { \verse #textTwo }
\markup { \verse #textThree }

I'd like to collect all text parts in a new variable, like this:

fulltext = \whatsoever { \textOne \textTwo \textThree }

\markup { \verse #fulltext }

Is this (or a similar construct) possible?

Thanks in advance!

Marc

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



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





reply via email to

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