Page label: Difference between revisions
Appearance
m New category |
mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
Page labels may be placed inside music or at top-level, and referred to in | Page labels may be placed inside music or at top-level, and referred to in markups. | ||
<lilypond version="2.24" full> | <lilypond version="2.24" full> | ||
#(set-default-paper-size "a7" 'landscape) | |||
#(set-global-staff-size 11) | |||
\label license | \label license | ||
\markup "This snippet is available under the Creative Commons | \markup \fill-line { | ||
Public Domain Dedication license." | \center-column { | ||
"This snippet is available" | |||
"under the Creative Commons" | |||
"Public Domain Dedication license." } } | |||
{ | { | ||
\repeat volta 2 { | \repeat volta 2 { | ||
\label startRepeat | \label startRepeat | ||
\repeat unfold | \repeat unfold 22 { c'2 2 } | ||
\pageBreak | \pageBreak | ||
2 2 | \repeat unfold 16 { c'2 2 } | ||
} | } | ||
\textEndMark \markup { | \textEndMark \markup { | ||
| Line 20: | Line 26: | ||
} | } | ||
\markup { | \markup \fill-line { | ||
See page \page-ref #'license "0" "?" for | \line { | ||
See page \page-ref #'license "0" "?" for | |||
} | licensing information. } } | ||
</lilypond> | </lilypond> | ||
Latest revision as of 12:29, 30 December 2025
Page labels may be placed inside music or at top-level, and referred to in markups.
\version "2.24"
#(set-default-paper-size "a7" 'landscape)
#(set-global-staff-size 11)
\label license
\markup \fill-line {
\center-column {
"This snippet is available"
"under the Creative Commons"
"Public Domain Dedication license." } }
{
\repeat volta 2 {
\label startRepeat
\repeat unfold 22 { c'2 2 }
\pageBreak
\repeat unfold 16 { c'2 2 }
}
\textEndMark \markup {
\with-link #'startRepeat \line {
To page \page-ref #'startRepeat "0" "?"
}
}
}
\markup \fill-line {
\line {
See page \page-ref #'license "0" "?" for
licensing information. } }