Jump to content

Keep change clefs full-sized: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
No edit summary
Line 24: Line 24:
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Pitches]]
[[Category:Pitches]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]][[Category:Snippet]]

Revision as of 22:55, 21 November 2025

When a clef is changed, the clef sign displayed is smaller than the initial clef. This can be overridden with full-size-change.

\version "2.24"

\relative c' {
  \clef "treble"
  c1
  \clef "bass"
  c1
  \clef "treble"
  c1
  \override Staff.Clef.full-size-change = ##t
  \clef "bass"
  c1
  \clef "treble"
  c1
  \revert Staff.Clef.full-size-change
  \clef "bass"
  c1
  \clef "treble"
  c1
}