Am 19.06.2014 13:04, schrieb "Dr. med. Kai Lautenschläger":
\version "2.19.7"

Hi everyone!

is it possible to construct variables from others? I want to construct

\tempo "Text" 4=80

from the variables

tempoText = "Text" and
tempoNumber = "4=80"

that are defined at two different places in a complicated file structure 
(\include)

I tried:

\version "2.19.7"
tempoText = "Text" and
tempoNumber = "4=80"
{
        \tempo \tempoText \tempoNumber
        a4
}

with an without quotation marks, but nothing worked. I suppose I just can’t see 
the obvious and just looked for the wrong keywords in the documentation. Can 
anyone point me in the right direction.

Thanks


Wrap the \tempo expression in a \markup.

Does

\tempo \markup { \tempoText \tempoNumber }

give you what you want?

HTH
Urs


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



--


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

Reply via email to