Changing the size of layout objects

Revision as of 18:53, 16 November 2025 by Jean Abou Samra (talk | contribs) (Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series)

The font-size property can be set directly, so that only certain layout objects are affected.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=412


\relative c'' {
  \set fontSize = #3
  c4.-> d8---3
  \override NoteHead.font-size = #-4
  c4.-> d8---3
  \override Script.font-size = #3
  c4.-> d8---3
}