Jump to content

Setting system separators: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
Line 27: Line 27:
[[Category:Paper and layout]]
[[Category:Paper and layout]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Staff notation]][[Category:Snippet]]
[[Category:Staff notation]]
[[Category:Snippet]]

Revision as of 23:29, 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 
    >>
  }
}