Sometimes I want to protect a short passage of music from being
broken onto separate systems.  Are there better ways of writing:

\repeat unfold 6 { c1 | \noBreak }
\break
\repeat unfold 6 { c1 | \noBreak }

for passages that one wishes to keep all on one system?

Would there be any community need for something like the badly-named:

\noBreakMusic {
  c1 | c1 | c1 |
  c1 | c1 | c1 |
}
\break
\noBreakMusic {
  c1 | c1 | c1 |
  c1 | c1 | c1 |
}

A technique like this might also be workable, but IMO a little
less elegant syntactically:

\set unbreakableMusic = ##t
\repeat unfold 6 c1
\break
\repeat unfold 6 c1
\revert unbreakableMusic

This is not a huge priority, just a curiousity.


Jim

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to