Dear Alexander,

thanks so much!

--
Orm

Am Wednesday, den 09. December 2009 um 13:07:06 Uhr (+0100) schrieb Alexander 
Kobel:
> Orm Finnendahl wrote:
>> Hi,
>>
>>  I'm arranging piano parts for optimal page turning and have a lot of
>> trouble getting it right by tweaking system sizes, inserting \break
>> and \nobreak, adjusting system-count, recompiling and hoping that this
>> time the pages break at the right place [...]
>
> Hi.
>
> Of course there's this optimal-page-turning break algorithm, but I never  
> tried it myself. See Notation Reference, section 4.3.4.
> But if you have (or want) to manually adjust breaks all over the place  
> anyway, it might be the easiest way to forbid automatic breaks at all.
> I'd try forbidding page breaks first; if that's not enough, you can also  
> disallow line breaks. You can also define shortcuts for the overrides,  
> and switch the automatics on and off during the piece.
>
> forcedBreaks = {
> %  \override Score . NonMusicalPaperColumn #'line-break-permission = ##f
>   \override Score . NonMusicalPaperColumn #'page-break-permission = ##f
>
>   %% Work here ...
>   s1*4 \break
>   s1*4 \pageBreak
>
>   %% Don't let the rest of the score collide where you didn't specify  
> breaks yet
> %  \override Score . NonMusicalPaperColumn #'line-break-permission = ##t
>   \override Score . NonMusicalPaperColumn #'page-break-permission = ##t
> }
>
> \score {
>   <<
>     %% add \forcedBreaks somewhere here, either in some voice or, e.g.,  
> with
>     \new Devnull \forcedBreaks
>   >>
>   \layout {}
> }
>
> I almost always use this during the writing of the score, before the  
> final layout steps, so that I have the breaks at the same positions as  
> in my template.
>
>
> Cheers,
> Alexander


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

Reply via email to