Jump to content

Hiding notes: 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:Editorial annotations]]
[[Category:Editorial annotations]]
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Really simple]]
[[Category:Really simple]][[Category:Snippet]]

Revision as of 22:54, 21 November 2025

In the following examples, some notes are hidden: although they are made transparent, they still take vertical and horizontal space.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=418


\relative c'' {
  c4 d
  \hideNotes
  e  f
  \unHideNotes
  g  a
  \once\hideNotes
  b
  c
}