bug-lilypond
[Top][All Lists]
Advanced

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

Re: Bad vertical placement of staves with lilypond-book-2.6.1


From: Mats Bengtsson
Subject: Re: Bad vertical placement of staves with lilypond-book-2.6.1
Date: Tue, 02 Aug 2005 13:48:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511



Han-Wen Nienhuys wrote:
Mats Bengtsson wrote:

It seems that there is a hiresbb option to the graphics and
graphicx packages that makes it read the %%HiResBoundingBox
instead of BoundingBox. However, the rounding problem is
easily solved by adding \linebreak commands.

Have you thought about the bounding boxes for the different score
lines?


I guess the quickest hack is to take the union of all lines for the left side of the bbox.

An even quicker hack is probably to set the left side of the bbox to
zero and I'm not fully convinced that that's a worse solution than
what you propose. With your solution, the full score will extend
into the right hand margin of the document if you happen to have
an instrument name. Setting the left edge of BBox to 0, on the other
hand, will print the score with the left edge of the score lines
aligned with the left margin of the document and any instrument
names or long bar numbers will extend into the left margin.

Hmm, the situation is different for documents where you want to
include short music snippet in the middle of a text line or
LaTeX table or whatever, where you do want the bounding box to
include all the LilyPond output, which is an argument for your
solution. On the other hand, for such snippets it's probably not
that common to have anything appearing to the left of the left
edge of the score line.

   /Mats




reply via email to

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