Jump to content

Setting system separators: 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 27: Line 27:
[[Category:Paper and layout]]
[[Category:Paper and layout]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Staff notation]]
[[Category:Staff notation]][[Category:Snippet]]

Revision as of 22:59, 21 November 2025

System separators can be inserted between systems. Any markup can be used, but \slashSeparator has been provided as a sensible default.

\version "2.24"

\paper {
  system-separator-markup = \slashSeparator
  line-width = 120
  tagline = ##f
}

notes = \relative c' {
  c1 | c \break
  c1 | c \break
  c1 | c
}

\book {
  \score {
    \new GrandStaff <<
      \new Staff \notes 
      \new Staff \notes 
    >>
  }
}