lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [WISH] A form of \noBreak that accepts a music expression?


From: Kieren MacMillan
Subject: Re: [WISH] A form of \noBreak that accepts a music expression?
Date: Thu, 17 Oct 2013 14:39:47 -0400

Hi Jim,

> 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.

I use these macros:

pageBreaksForbid = { \override Score.NonMusicalPaperColumn 
#'page-break-permission = ##f }
pageBreaksAllow = { \revert Score.NonMusicalPaperColumn #'page-break-permission 
}
lineBreaksForbid = { \override Score.NonMusicalPaperColumn 
#'line-break-permission = ##f }
lineBreaksAllow = { \revert Score.NonMusicalPaperColumn #'line-break-permission 
}

Hope this helps!
Kieren.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]