lilypond-user
[Top][All Lists]
Advanced

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

Bar numbers on Dynamics staff above music


From: Richard Shann
Subject: Bar numbers on Dynamics staff above music
Date: Sun, 27 Aug 2023 15:30:51 +0100
User-agent: Evolution 3.46.4-2

If I create a Dynamics staff above the music, the bar numbers are
printed on it rather than on the staff with the music. At least this is
why setting the outside-staff-priority doesn't have any effect.
Is there a way to get bar numbers onto the staff with the music?

This is my MWE:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.24"
dyn = {
        
       c'4 c'\f c' c'
         c' c'\f c' c'
         c' c'\f c' c' 
}
mus = { \repeat unfold 24 c''8
        
}
\score {
          <<      
            \override Score.BarNumber.outside-staff-priority = #-500
            \override Score.BarNumber.break-visibility = #end-of-line-invisible
            \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1) 
            <<   
             \new Dynamics \dyn
             \new Staff \mus 
            >>
          >>
       }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Richard Shann



reply via email to

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