lilypond-devel
[Top][All Lists]
Advanced

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

Re: next patch for lilypond-book


From: Werner LEMBERG
Subject: Re: next patch for lilypond-book
Date: Sat, 28 Sep 2002 02:30:37 +0200 (CEST)

> When typesetting a .ly file which contains several \score{...}
> sections, ly2dvi simply concatenates the scores, inserting a short
> title before each new score using the function
> \makelilypondpiecetitle in tex/titledefs.tex.  The problem is that
> occasionally, the title may end up at the bottom of a page, whereas
> the score begins on the next page.  Of course, these titles should
> behave as ordinary section titles in LaTeX and always stay on the
> same page as the next \hbox.  I tried to read the TeX book a couple
> of years ago and implemented a \myfilbreak.  Unfortunately, it
> doesn't always work.  Can you think of a solution that works better?

Without looking deeper into this problem right now, what about
something like this between the title and the new score:

  \par
  \nobreak
  \vskip <distance>
  \nobreak

    Werner




reply via email to

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