[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bar numbers on Dynamics staff above music
From: |
Richard Shann |
Subject: |
Re: Bar numbers on Dynamics staff above music |
Date: |
Mon, 28 Aug 2023 12:28:21 +0100 |
User-agent: |
Evolution 3.46.4-2 |
On Mon, 2023-08-28 at 11:27 +0200, Xavier Scheuer wrote:
> On Mon, 28 Aug 2023 at 10:17, Richard Shann <richard@rshann.plus.com>
> wrote:
> >
> > There are more problems than I thought with your solution-
> > here is your example with some higher notes in it - the bar numbers
> > leave the staff again:
>
> Hello,
>
> Removing "Bar_number_engraver" from the Score context and adding it
> to the Staff context (or the first staff with \with if you have more
> than one staff) will get the bar numbers onto the staff.
> It should give you the same bar number positioning as if the Dynamics
> context was not above your staff.
> If you have some overrides, change them from the Score context to the
> Staff context as well.
>
> \layout {
> \context {
> \Score
> \remove "Bar_number_engraver"
> }
> \context {
> \Staff % if more than one Staff, use \with for the first Staff
> in your \score block
> \consists "Bar_number_engraver"
> \override BarNumber.break-visibility = #end-of-line-invisible
> barNumberVisibility = #(every-nth-bar-number-visible 1)
> }
> }
>
Perfect! Thank you so much.
Richard
> Kind regards,
> Xavier
>