> Hi there,
>
> I am slowly beginning to get the hang of LilyPond (version 1.2.17),
> and making the migration from PMX/MusixTeX. However, there are still
> a few (well, actually many) things I'm unsure of:
>
> - How do I adjust the position of the music on the printed page? I
> have a piece which should fit well on to a single A4 sheet, except
> for about a 5cm blank space at the top. I have increased the
> textheight in the \paper settings:
>
> \paper {
> textheight = 27.0 \cm;
> }
>
> which puts all the music onto the single page, but too close to the
> bottom.
>
> So how do I decrease the space at the top?
Don't follow Han-Wen's suggestion. The page layout is determined
in the small LaTeX wrapper file that's created by ly2dvi.
If you have a Mudela file abcd.ly and run 'ly2dvi -k -K abcd',
you will get a TeX file abcd.tex with the very music and a
LaTeX file called something like abcd<some number>.tex.
This latter file, you could rename to abcd_wrapper.tex and
edit to change the page layout just as you desire.
To get the desired output, just use 'latex abcd_wrapper'
and if you have done any changes to the Mudela input,
run 'lilypond abcd' and then 'latex abcd_wrapper'.
(Hmm, this should be in the FAQ.)
The page layout uses the geometry package (try 'texdoc geometry')
and is determined at the line
\geometry{width=..., left=..., height=..., top=...}
First of all, you should add the option 'nohead' in the
argument list above (I will send a patch for ly2dvi.py,
since should always be done), then you could try decreasing
the argument to 'top=...'.
An alternative which doesn't include any TeX hacking at all,
is to use the flag -O of dvips to change the top margin,
the disadvantage is that you have to remember this every
time you want to print the music.
/Mats