Jump to content

Hiding notes: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In the following examples, some notes are hidden: although they are made transparent, they still take vertical and horizontal space.
In the following examples, some notes are hidden: although they are made transparent, they still take vertical and horizontal space.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=418
%% http://lsr.di.unimi.it/LSR/Item?id=418


Line 20: Line 20:
[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Snippet]]

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