lilypond-user
[Top][All Lists]

## Keeping TeX and Lilypond and the same page?

 From: Jeremy Cowgar Subject: Keeping TeX and Lilypond and the same page? Date: Wed, 08 Jan 2003 14:52:34 -0500

I have:

{\samepage

\begin{center}
{\large E Study \# 2}\\
\end{center}

\begin[23pt,noindent,noquote]{lilypond}
\score {
\notes \relative c'' {
e4\downbow_1 e4\downbow_2 e4\downbow_3 e4\downbow_4
e4 e4 e2
e4 e4 e4 e4
e4 e4 e2
\bar "|."
}
}
\end{lilypond}
}


trying to keep that block on the same page. In the grand scheme of things, the top text appears on the bottom of page 14, and the music at the top of 15.


If remove a line before that text, then the text atop of the lilypond block and the first line of the lilypond music appears at the bottom of page 14, then the last line of the lilypond music appears at the top of page 15.


Is their a way I can make it all on one page? i.e. if it doesn't all fit here, put it *all* on the next page?

Thanks,

Jeremy