Jump to content

How to show a staff and ledger lines without notes

From LilyPond wiki
Revision as of 18:49, 16 November 2025 by Jean Abou Samra (talk | contribs) (Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series)

How to show a staff and ledger lines without notes

\version "2.24"

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

\relative c'' {
    \override NoteHead.transparent = ##t
    \override Stem.transparent = ##t
    \override Beam.transparent = ##t
    \override Dots.transparent = ##t
    \override Accidental.transparent = ##t
% For version > 2.14.2 comment in the following line
%    \override Flag.transparent = ##t
    cis'8. a,,
}