Displaying the exact extent of a system: Difference between revisions
Appearance
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: | ||
If you want to see exactly what amount of space takes your system, you can display it by overriding the <code>stencil</code> property in the <code>System</code> context: as you can see here, the system size is determined by including every postscript element such as slurs or key symbol. | If you want to see exactly what amount of space takes your system, you can display it by overriding the <code>stencil</code> property in the <code>System</code> context: as you can see here, the system size is determined by including every postscript element such as slurs or key symbol. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=257 | %% http://lsr.di.unimi.it/LSR/Item?id=257 | ||
Revision as of 18:56, 16 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)
}