[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: explicitClefVisibility
From: |
Jacques Menu |
Subject: |
Re: explicitClefVisibility |
Date: |
Fri, 12 Mar 2021 16:55:10 +0100 |
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 <arushforth@gmail.com> 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>