Jump to content

Displaying the exact extent of a system: 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 19: Line 19:
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]][[Category:Snippet]]

Revision as of 22:51, 21 November 2025

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)
}