I'm trying to avoid page breaks just after the title of a piece. I
have a score where the first staff and the title are not on the same
page. I tried to add \nopagebreak in \makelilypiecetitle :

\def\makelilypiecetitle
{
  \bigskip
  \vbox{
    {\flushright{\theopus}\par}
    {\flushleft{\large\normalfont\scshape\thepiece}\par}
    \nopagebreak[4]
  }
  \global\let\theopus\relax%
  \global\let\thepiece\relax%
}

But it didn't work. Any idea ?

p.s : note also that I added a \vbox so that the \theopus and
\thepiece are on the same page. 

-- 
Laurent Martelli
[EMAIL PROTECTED]

Reply via email to