Hi,

I see that same values for page layout is defined in paper.scm, and a
few of them is hard-codded in set-paper-dimensions:

(define (set-paper-dimensions m w h)
  "M is a module (i.e. paper->scope_ )"
  (let* ((mm (eval 'mm m)))
    (module-define! m 'hsize w)
    (module-define! m 'vsize h)
    (module-define! m 'linewidth (- w (* 20 mm)))
    (module-define! m 'indent (/ w 14))

    ;; page layout - what to do with (printer specific!) margin settings?
    (module-define! m 'top-margin (* 5 mm))
    (module-define! m 'bottom-margin (* 6 mm))
    (module-define! m 'head-sep (* 4 mm))
    (module-define! m 'foot-sep (* 4 mm))))

How about making top-margin and bottom-margin available as a variable
to be defined in "\paper" as well? It would also be terrific to have
things like left-margin and right-margin.

Pedro



_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to