Jump to content

Staff line positions

From LilyPond wiki
Revision as of 18:53, 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)

The vertical positions of staff lines may be specified individually, by setting the line-positions property of the StaffSymbol.

\version "2.24"

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

\new Staff \relative c' {
  \override Staff.StaffSymbol.line-positions = #'(-7 -2 0 3 9)
  g c f b e a
}