This is really a general LaTeX question and not specific for
Lilypond. Anyway, one solution is to put the score together with
the title in a figure environment. This means that it is kept together
as one unit. Also, if you have other ordinary text, the figure may
"float" to the top or bottom of the page or to the next page.
Try:

\begin{figure}[htb]
\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}
\end{figure}

The arguments to figure means that it can stay "h"ere, float to the
"t"op of the page or to the "b"ottom of the page.

   /Mats

Jeremy Cowgar wrote:
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



_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
	Mats Bengtsson
	Signal Processing
	Signals, Sensors and Systems
	Royal Institute of Technology
	SE-100 44  STOCKHOLM
	Sweden
	Phone: (+46) 8 790 8463				
        Fax:   (+46) 8 790 7260
	Email: [EMAIL PROTECTED]
	WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to