Hiding staves with rests only (for some/all voices): Difference between revisions
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 7: | Line 7: | ||
If you have some voices where you still want to display all (even empty) staves, you need to set the <code>remove-empty</code> property of the <code>VerticalAxisGroup </code>to <code>#t</code> for that one staff only. You can do this in the <code>\with</code> section of the staff (in this example, the alto staff will never erase empty lines, while the soprano staff will). | If you have some voices where you still want to display all (even empty) staves, you need to set the <code>remove-empty</code> property of the <code>VerticalAxisGroup </code>to <code>#t</code> for that one staff only. You can do this in the <code>\with</code> section of the staff (in this example, the alto staff will never erase empty lines, while the soprano staff will). | ||
<lilypond version="2.24 | <lilypond version="2.24" full> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=307 | %% http://lsr.di.unimi.it/LSR/Item?id=307 | ||