Jump to content

Page label: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Line 27: Line 27:


[[Category:Spacing]]
[[Category:Spacing]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Revision as of 23:37, 21 November 2025

Page labels may be placed inside music or at top-level, and referred to in markups.

\version "2.24"

\label license
\markup "This snippet is available under the Creative Commons
Public Domain Dedication license."

{
  \repeat volta 2 {
    \label startRepeat
    \repeat unfold 20 { c'2 2 }
    \pageBreak
    2 2
  }
  \textEndMark \markup {
    \with-link #'startRepeat \line {
      To page \page-ref #'startRepeat "0" "?"
    }
  }
}

\markup {
  See page \page-ref #'license "0" "?" for
  licensing information.
}