bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 1595 in lilypond: lilypond-book papersize gives margin warning


From: lilypond
Subject: Re: Issue 1595 in lilypond: lilypond-book papersize gives margin warnings
Date: Sat, 03 Sep 2011 14:00:07 +0000


Comment #5 on issue 1595 by percival.music.ca: lilypond-book papersize gives margin warnings
http://code.google.com/p/lilypond/issues/detail?id=1595

I still think an *internal* (see later definition) paper size would work.

Steps:
1. latex tells lilypond-book how much horizontal space it can use.
2. lilypond-book does subtractions for quote and related options.
3. lilypond-book tells lilypond how much horizontal space it can use.
4. lilypond creates an image that corresponds to that horizontal space.

The problem is that at the moment step 3 is done in terms of line-width, but line-width does not include the instrument name (and other non-staff horizontal width). I think that if lilypond-book told lilypond that the paper width was something like 150mm (not hard-coded; I'm just guesstimating what would be left on an a4 paper, after latex margins and lilypond-book margins like quote), then lilypond would / should be able to figure out that if it has an instrument name that's 25mm long and needs 5mm padding, then the staff line width should be 120mm.





reply via email to

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