Jump to content

Page label: Difference between revisions

From LilyPond wiki
mNo edit summary
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
Line 1: Line 1:
Page labels may be placed inside music or at top-level, and referred to in [[markup]]s.
Page labels may be placed inside music or at top-level, and referred to in [[markup]]s.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
\label license
\label license
\markup "This snippet is available under the Creative Commons
\markup "This snippet is available under the Creative Commons

Revision as of 18:55, 16 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.
}