lilypond-user
[Top][All Lists]
Advanced

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

Re: Minor variations on a re-used section


From: Aaron Hill
Subject: Re: Minor variations on a re-used section
Date: Sat, 22 Jun 2019 14:02:17 -0700
User-agent: Roundcube Webmail/1.3.8

On 2019-06-22 1:46 pm, Evan Driscoll wrote:

Is there a way to define a variable "locally"?

Not with the "foo = bar" syntax.  But you can do this:

%%%%
\version "2.19.82"

outside = { 8 8 4 }
{
  $(define inside #{ { 2 } #})
  \outside \inside
}

{ \outside \inside }
%%%%


-- Aaron Hill



reply via email to

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