Jump to content

Displaying the exact extent of a system

From LilyPond wiki
Revision as of 18:56, 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)

If you want to see exactly what amount of space takes your system, you can display it by overriding the stencil property in the System context: as you can see here, the system size is determined by including every postscript element such as slurs or key symbol.

\version "2.24"

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

%%%
\layout { 
  \context {
    \Score
    \override System.stencil = #box-grob-stencil
  }
}

{
  \slurDown c4 ( g4  c''4)
}