Displaying the exact extent of a system: Difference between revisions
Appearance
Import snippet from LSR |
m New category Tags: Mobile edit Mobile web edit |
||
| (2 intermediate revisions by 2 users not shown) | |||
| 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 | ||
| 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)
}