bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bar number with chord name


From: Xavier Scheuer
Subject: Re: Bar number with chord name
Date: Sun, 19 Apr 2020 06:03:08 +0200

On Sat, 18 Apr 2020 at 19:49, Aidan O Connor <address@hidden> wrote:
>
> When chord names are included, the bar numbers are positioned above the
chord name. This is particularly noticeable if a fret diagram is also
included. The bar numbers should be positioned immediately above the staff.
> In this example, the chord name forces the second measure bar number out
of position compared to other bars.
>
> \version "2.20.0"
> <<
>   \chords { c1 c1 }
>   \new Staff {
>     \override Score.BarNumber.break-visibility = ##(#t #t #t)
>     r1 r1 ^ \markup { \fret-diagram "" }
>   }
> >>
>

Hello,

If you want the bar numbers above the staff, then move the
"Bar_number_engraver" to the staff level.

\layout {
  \context {
    \Score
    \remove "Bar_number_engraver"
  }
  \context {
    \Staff
    \consists "Bar_number_engraver"
  }
}

Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>


reply via email to

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