lilypond-user
[Top][All Lists]
Advanced

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

Re: Completion_heads_engraver and \noBreak


From: ornello
Subject: Re: Completion_heads_engraver and \noBreak
Date: Thu, 14 Oct 2010 08:07:46 -0700 (PDT)


Phil Holmes-2 wrote:
> 
> If you want to prevent breaks at all, you can use the line
> 
>     \override NonMusicalPaperColumn #'line-break-permission = ##f
> 
> as in the example below. 
> 

Thanks Phil,

you helped me a lot! This is a much better solution than using \noBreaks.

Below I have extended your example to show how this also works to prevent
line breaks for parts of the score (in this case one single line):


\layout {
\context {
\Voice
 \remove "Note_heads_engraver"
 \consists "Completion_heads_engraver"
}
}
\score {
  {
    c4
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    c1
    \override Score.NonMusicalPaperColumn #'line-break-permission = ##f
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    d1
    \override Score.NonMusicalPaperColumn #'line-break-permission = ##t
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
    e1
  }
}

-- 
View this message in context: 
http://old.nabble.com/Completion_heads_engraver-and-%5CnoBreak-tp29894579p29963337.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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