bug-lilypond
[Top][All Lists]
Advanced

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

horizontal spacing issue


From: Mark Polesky
Subject: horizontal spacing issue
Date: Fri, 5 Sep 2008 00:34:54 -0700 (PDT)

Hey all, not sure if this is really a bug.

The 2.11 documentation (Notation Reference 4.1.2 Page formatting) says:

  paper-width
    The width of the page. The default is taken from the current paper size.
  line-width
    The length of the systems. Default is paper-width minus 20mm.

So should setting paper-width to 100mm set line-width to 80mm?
I thought so, but it doesn't. In 2.11.57-1, line-width needs to be set
manually, and even if you want to set line-width dynamically as a function of
paper-width using a scheme procedure...
  line-width = #(- paper-width (* 20 mm))
...you need to do so AFTER you define paper-width, as far as I know. Granted,
I never did finish my scheme studies - maybe there's a way involving variable
scope or something.

Regardless, the docs imply that changing paper-width changes line-width, and
it just doesn't seem so. I don't know enough to know if this is a bug, but
I'm happy to report my confusion to someone that might.

Thanks,
Mark

\version "2.11.57-1"
\relative g' { \repeat unfold 50 { g8 d' b d } }
\paper {
  paper-width = 100\mm
  %line-width = 80\mm  %un-comment this to see what it should look like.
}


      




reply via email to

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