Jump to content

Staff line positions: 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 14: Line 14:
[[Category:Editorial annotations]]
[[Category:Editorial annotations]]
[[Category:Specific notation]]
[[Category:Specific notation]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]][[Category:Snippet]]

Revision as of 23:00, 21 November 2025

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
}