Jump to content

Making staff lines invisible

From LilyPond wiki
Revision as of 22:37, 26 October 2025 by Jean Abou Samra (talk | contribs) (Import snippet from LSR)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You can make staff lines invisible by removing the Staff_symbol_engraver from the Staff context.

\version "2.24.0"

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

\score {
  \context Staff \relative c'' { c8 c c16 c c c }
  \layout{
    \context {
      \Staff
      \remove Staff_symbol_engraver
    }
  }
}