On Fri 23 Jun 2017 at 01:12:12 (+1000), Andrew Bernard wrote:

> But this is in the NR in the section on bar numbers, is it not?
> 
> \relative c' {
>   \set Score.currentBarNumber = #111
>   \override Score.BarNumber.break-visibility = #all-visible
>   % Increase the size of the bar number by 2
>   \override Score.BarNumber.font-size = #2
>   % Print a bar number every second measure
>   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
>   c1 | c1
>   % Center-align bar numbers
>   \override Score.BarNumber.self-alignment-X = #CENTER
>   c1 | c1
>   % Left-align bar numbers
>   \override Score.BarNumber.self-alignment-X = #LEFT
>   c1 | c1
> }

The noddy example in the NR looks fine, but things collide when
you #CENTER in the wild:

Cheers,
David.
mus = \relative c' {
  \override Score.BarNumber.break-visibility = #all-visible
  \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
  c1 | c1 | c1 | c1 | c1
  \override Score.BarNumber.self-alignment-X = #CENTER
  c1 | c1 | c1 | c1 | \break c1
  \override Score.BarNumber.self-alignment-X = #LEFT
  c1 | c1 | c1 | c1 | c1
}
\new ChoirStaff <<
  \new Staff { \mus }
  \new Staff { \mus }
>>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to