[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: constructing variables
From: |
Urs Liska |
Subject: |
Re: constructing variables |
Date: |
Thu, 19 Jun 2014 13:36:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
--