Re: lilypond-book and pagebreaking

2007-07-03 Thread Laura Conrad
I still haven't managed to get \addpenalty to do anything useful, but here's a magic word that makes the pagebreak not happen after the header: \usepackage{ifthen} \newcommand{\betweenLilyPondSystem}[1]{ \ifthenelse{\equal{#1}{1}}{\nopagebreak\linebreak }{\linebreak} } -- Laura (mailto:[EMAIL

Re: lilypond-book and pagebreaking

2007-06-28 Thread Laura Conrad
> "Mats" == Mats Bengtsson <[EMAIL PROTECTED]> writes: Mats> As far as I can see, the command \betweenLilyPondSystem is Mats> used both between headers and music as well as between score Mats> lines, so the only reason I can see that it's more likely to Mats> get a break after

Re: lilypond-book and pagebreaking

2007-06-28 Thread Mats Bengtsson
As far as I can see, the command \betweenLilyPondSystem is used both between headers and music as well as between score lines, so the only reason I can see that it's more likely to get a break after a header may be that the score lines take more vertical space than the headers, so if LaTeX has to

lilypond-book and pagebreaking

2007-06-28 Thread Laura Conrad
I just had the bright idea to have lilypond-book tell latex to try to keep individual pieces on a page by defining: \newcommand{\betweenLilyPondSystem}[1]{\linebreak\nopagebreak} This seems to work to discourage breaks within the music, but it has the unfortunate effect of making it even mo