Jump to content

Making staff lines invisible: 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 16: Line 16:


[[Category:Contexts and engravers]]
[[Category:Contexts and engravers]]
[[Category:Really simple]]
[[Category:Really simple]][[Category:Snippet]]

Revision as of 22:55, 21 November 2025

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

\version "2.24"

%% 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
    }
  }
}