Forcing a clef symbol to be displayed: Difference between revisions
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
When a clef sign has already been displayed and it has not been changed to a different clef, then repeating the <code>\clef</code> command will be ignored by LilyPond, since it is not a change of clef. It is possible to force the clef to be redisplayed using the command <code>\set Staff.forceClef = ##t</code>. | When a clef sign has already been displayed and it has not been changed to a different clef, then repeating the <code>\clef</code> command will be ignored by LilyPond, since it is not a change of clef. It is possible to force the clef to be redisplayed using the command <code>\set Staff.forceClef = ##t</code>. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
\relative c' { | \relative c' { | ||
\clef treble | \clef treble | ||
| Line 16: | Line 16: | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Pitches]] | [[Category:Pitches]] | ||
[[Category:Snippet]] | |||