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: Aidan O Connor
Subject: Re: Bar number with chord name
Date: Sun, 19 Apr 2020 15:01:55 +0000

Hi,

Thanks for that workaround, it works well.

Regards
Aidan
________________________________
From: Xavier Scheuer <address@hidden>
Sent: Sunday 19 April 2020 05:03
To: Aidan O Connor <address@hidden>
Cc: address@hidden <address@hidden>
Subject: Re: Bar number with chord name

On Sat, 18 Apr 2020 at 19:49, Aidan O Connor 
<address@hidden<mailto: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<mailto:address@hidden>>



reply via email to

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