lilypond-user
[Top][All Lists]
Advanced

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

Re: Four Bars per Line/System, again :)


From: Lukas-Fabian Moser
Subject: Re: Four Bars per Line/System, again :)
Date: Fri, 13 Jul 2018 09:56:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Michael,

thanks for drawing attention to this superb tool! (It's quite old now but works flawlessly with current Lilypond versions).

...but with additional "\book"s for Bb and Eb instruments. I'd like to be
able to avoid the potential for error in dealing with the odd line which
needs to be other than 4 bars long by defining the "4 4 4 4 3 4 ..." as a
variable and then passing the variable to custom-line-breaks-engraver but I
can't work out how to do this.

That's easy if you know the Lilypond syntax for incorporating Scheme elements:

myList = #'(4 4 4 4 3 4)

\layout {
  \context {
    \Score
    \consists #(custom-line-breaks-engraver myList)
  }
}

Best
Lukas

reply via email to

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