lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond-book shifts music right relative to text


From: Laura Conrad
Subject: Re: lilypond-book shifts music right relative to text
Date: Sat, 14 Oct 2006 11:22:11 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

>>>>> "Laura" == Laura Conrad <address@hidden> writes:

    Laura> I believe this has been discussed before, but I can't
    Laura> remember that anyone has figured out a solution.

    Laura> If you look at the output of the attached .lytex file,
    Laura> after running the commands:

    Laura>       lilypond-book --output=out --psfonts test.lytex
    Laura>       cd out
    Laura>          latex test.tex
    Laura>          dvips $(DVIPSOPTS) -h
    Laura>       test.psfonts -o ../test.ps test.dvi
    Laura>          cd ..
    Laura>       ps2pdf test.ps test.pdf

    Laura> you can see that the music is shifted right relative to the
    Laura> text.

I have played with this problem, and this description is incorrect --
the left margin of the .eps files is in fact the same as the left
margin of the text.  The right margin is different because the eps
file is actually too long.  

The impression of right shifting on first glance is because the
measure numbers in the music take up some space inside the right
margin. 

In any case, this more accurate description of the problem does
suggest a workaround, demonstrated in the attached file.  If you
measure the amount the music sticks out into the right margin, and set
the lilypond line-width to that amount less than the latex line width,
you get a much better looking page.  

2.8.7 and 2.9.23 are bug-compatible with respect to this problem, so
it isn't release-critical, but it is a pretty serious problem for
those of us trying to use lilypond-book for printing books.

Attachment: bookalign.lytex
Description: Binary data

-- 
Laura (mailto:address@hidden , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139

reply via email to

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