I have a music score like this:
a a a a
b b b b
c c c c
r1
a a a a
b b b b
c c c c
Then it would be nice to create a variable
fragment =
{
a a a a
b b b b
c c c c
}
and write the score in the following way:
\fragment
r1
\fragment
This is perfect but sometimes I need to format the score like this:
a a a a
b b b b
c c c c
r1
a a a a
b b b b \pagebreak
c c c c
How I should structure the lilypond source code in this case where the visual structure and the musical structure does not match? For the music structure I would like to create the variable fragment, but for the visual structure this does not work. What should I do?