lilypond-user
[Top][All Lists]
Advanced

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

Re: Cannot use \layout in a variable


From: Timothy Lanfear
Subject: Re: Cannot use \layout in a variable
Date: Tue, 10 Jan 2017 17:55:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 10/01/17 16:59, Peter Toye wrote:
Cannot use \layout in a variable I wanted to use the same layout in a number of places, so put it into a variable. And got an error.

\version "2.19.52"

\language "english"

Lay = {
 \layout {
 }
}

\new Score {
 \new Staff {
   \relative
   { c'4 c c c  }
 }
}


Too many brackets. This will work.

\version "2.19.53"

Lay = \layout { indent = 2\cm }

\Lay

\score {
  c'1
}


--
Timothy Lanfear, Bristol, UK.




reply via email to

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