lilypond-devel
[Top][All Lists]
Advanced

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

Re: default margins (moved from -user)


From: Carl D. Sorensen
Subject: Re: default margins (moved from -user)
Date: Sat, 21 Mar 2009 07:32:10 -0600



On 3/20/09 9:36 PM, "Dan Eble" <address@hidden> wrote:

> 
> 
> On 20 Mar 2009, at 14:36, Carl D. Sorensen wrote:
> 
>> 
>> I'd recommend
>> 
>> left-margin (which is never violated, i.e. it will always be at
>> least this
>> big, but may be bigger if the line is shorter and justification is
>> either
>> 'centered or 'right)
>> minimum-line-width
>> maximum-line-width
>> sytem-justification (which would be 'centered by default, but could
>> be 'left
>> or 'right)
> 
> If left-margin is the minimum left margin for left-justification, what
> is the minimum right margin for right-justification?  Is it page-width
> minus left-margin minus maximum-line-width?  Seems like it should be,
> but it would be good to document it when the time comes.

The minimum right margin would be page-width - (left-margin +
maximim-line-width).

For right-justification, the right margin would always be at its minimum
value.

For left-justification, the left margin would always be at its minimum
value.

For centering, the difference between the left margin and its minimum value
would be the same as the difference between the right margin and its minimum
value.

> 
> Also, if someone is going to be touching this stuff, would it be
> possible to let all these variables be bound to functions accepting a
> page number and returning a value, or instead to have the framework
> call one function which returns a list of these values for the page?

I don't know if anyone is going to be touching this stuff.  AFAICS, this is
all just discussion about some hoped-for future behavior.  I consider it a
major change to implement this, and I don't imagine it will happen in the
near future.

> 
> Of course, after that I would ask for a way to make the page turner
> treat every mx+bth page as a turning point instead of just odd pages
> (2x+1), and who knows what else.

I can understand wanting to have m be something other than 2 (really, I can
only imagine it being some even number), but why would you ever want to have
b be something other than 1?  The page turn always comes at the end of some
page, and the there is a one-page difference between the page before the
turn and the page after the turn, isn't there?

Carl





reply via email to

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