At 07:53 19/03/2014 -0700, Gilberto Agostinho wrote:
Could someone please give me an advice? What is the best way to avoid that LilyPond breaks a line in the middle of a bar when using middle bar dashed barlines? In the following case, I have a tempo change in the middle of a bar, and I really would like to avoid this break.

\version "2.19.2"
{
  \time 4/4
  \tempo 4 = 60
  \repeat unfold 5 { c'4 c' c' c' | }
  c' c' c' \bar "!" \tempo 4 = 80 c' |
  \repeat unfold 6 { c' c' c' c' | }
}

Just follow your \bar "!" with \noBreak.

I would really appreciate if the solution would NOT consist of turning off the line-break-permission and manually adding breaks for every single line...

No need for that.

I trust this helps.

Brian Barker


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to