lilypond-devel
[Top][All Lists]
Advanced

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

Re: Paper size


From: Graham Percival
Subject: Re: Paper size
Date: Tue, 28 Feb 2006 09:41:28 -0800


On 28-Feb-06, at 2:38 AM, Han-Wen Nienhuys wrote:

Graham Percival wrote:
if ( (\paper-option)==(paper-size $1 $2) ) then
  #(set-default-paper-size $1 $2)

Hmmm; it would require a bit of rewiring. I guess that you do want to be able to do

  \paper {
    size = "a4"
    linewidth = 5.0\cm %% override default
  }


So the defaults would have to be moved out of paper-defaults.ly, and the scheme code needs to check that it doesn't overwrite anything.

What happens if we currently have
\paper{
  #(set-default-paper-size "a4"
  linewidth = 5.0\cm
}

Couldn't lily handle the size="a4" in exactly the same way as it handles #(set-...) ?

Cheers,
- Graham





reply via email to

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