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
m New category
Tags: Mobile edit Mobile web edit
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Snippet]]

Latest revision as of 23:15, 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)
}