lilypond-user
[Top][All Lists]
Advanced

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

Re: Top Margin Adjustment


From: David Kastrup
Subject: Re: Top Margin Adjustment
Date: Tue, 24 Jan 2012 05:01:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

-Eluze <address@hidden> writes:

> Thomas-292 wrote:
>> 
>> Hello,
>> 
>> In any LilyPond score, I always find the top margins to look abnormally
>> small. 
>> I have tried to set top-margin, but for some reason, it is ignored.
>> 
>> 
>>  \paper {
>>      top-margin = 5\cm
>>      annotate-spacing = ##t
>>      #(set-paper-size "letter")
>> }
>> 
>
> it's not ignored - but after having defined top-margin = 5\cm you override
> this with #(set-paper-size "letter")
>
> changing this order will do what you expect!

Because of the annotate-spacing, it would not apply here, but we had one
complaint already for input that looked somewhat like

\paper {
        top-margin = 5\cm
        #(set-paper-size "letter")
}

and "stopped working" once # stopped being prematurely evaluated in the
lexer, in this case before top-margin got assigned.

Sometimes two wrongs make a right when programming.

-- 
David Kastrup




reply via email to

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