[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Bar numbers on Dynamics staff above music
From:       Richard Shann <richard () rshann ! plus ! com>
Date:       2023-08-28 11:28:21
Message-ID: 131ad2f27ceb2b4e74db73e202dc995631d33be8.camel () rshann ! plus ! com
[Download RAW message or body]

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
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic