I use this construction:

\version "2.18.2"

melody = {
  %\override Score.BarNumber.break-visibility = ##(#t #t #t)
  \time 5/4   b2.( b4 ) r4 |
}

harmonies = \chordmode { b2.:min fis2:min7 | }
\layout {
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
  \context {
    \Staff
    \consists "Bar_number_engraver"
    \override BarNumber.break-visibility = #all-visible
    \override BarNumber.color = #grey
    \override BarNumber.layer = #-200
    \override BarNumber.outside-staff-priority =#'()
    \override BarNumber.padding = #1
    \override BarNumber.font-size = #1
    \override BarNumber.self-alignment-X = #0
  }
}

\score {
  <<
    \new ChordNames { \harmonies }
    \new Staff { \melody }
  >>
}

2017-06-22 17:32 GMT+02:00 bb <[email protected]>:

> I have checked the NR http://lilypond.org/doc/v2.18/
> Documentation/notation/bars . Indeed, there is not any problem, as long
> as you do not use chord names.
>
> May be, there is another chapter in the NR concerning this case of
> interfering with chord names? If any please point me to that. Thanks.
>
> BB
>
> Am 22.06.2017 um 17:12 schrieb Andrew Bernard:
>
> Hello BB,
>
> But this is in the NR in the section on bar numbers, is it not?
>
> Andrew
>
> ==
>
> \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
> }
>
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to