Hello Anthony,

How about:


% Better put the commands in layout
\layout {
   \context {
       \Staff
       \override KeySignature #'break-visibility = ##(#f #t #t)
       \override KeyCancellation #'break-visibility = ##(#f #t #f)
       explicitKeySignatureVisibility = #'#(#f #t #t)
   }
}

\relative c' {
   \key cis\major
   cis'1
   \break
   \key ces\major
   ces'1
}


> Le 12 mars 2021 à 16:11, Anthony Rushforth <[email protected]> a écrit :
> 
> Hello
> 
> I'm trying to get rid of key modifiers at end of lines. 
> I found this :
> \set Staff.explicitClefVisibility = #end-of-line-invisible
> which works well when flats are added, but not when sharps are added
> I don't find the answer in the documentation
> 
> here is the ly an pdf result
> you can see the problem measure 7, where the sharps begin...
> 
> Anthony
> <scales.ly><scales.pdf>


Reply via email to