bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bar number on odd bars does not work on new release?


From: Eluze
Subject: Re: Bar number on odd bars does not work on new release?
Date: Sat, 18 Jan 2014 14:08:04 -0800 (PST)

Paul Morris wrote
> Looks like the following works.  I just added a second argument to the
> lambda expression. It is just ignored, but it prevents the error.
> (n) -> (n x)
> 
> \layout { 
>   \context { 
>     \Score 
>     barNumberVisibility = #all-bar-numbers-visible 
>     barNumberVisibility = #(lambda (n x) (= (modulo n 2) 1))
>     \override BarNumber.break-visibility = #all-visible 
> } } 

another way - mentioned in the docs - is:

\layout {
  \context {
    \Score
    \override BarNumber.break-visibility = #all-visible
    barNumberVisibility = #(modulo-bar-number-visible 2 1) % or 2 0 to see
the even bar numbers
  }
}

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Bar-number-on-odd-bars-does-not-work-on-new-release-tp157263p158181.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

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