Jump to content

Keep change clefs full-sized: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
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
Line 1: Line 1:
When a clef is changed, the clef sign displayed is smaller than the initial clef. This can be overridden with <code>full-size-change</code>.
When a clef is changed, the clef sign displayed is smaller than the initial clef. This can be overridden with <code>full-size-change</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c' {
\relative c' {
   \clef "treble"
   \clef "treble"

Revision as of 18:49, 16 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
}