lilypond-devel
[Top][All Lists]
Advanced

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

page layout in 2.3.7


From: Han-Wen Nienhuys
Subject: page layout in 2.3.7
Date: Thu, 22 Jul 2004 22:17:29 +0200

address@hidden writes:
> 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.

Yup, good idea -- I'd love see a patch (or better yet, automagically
get this by doing "cvs up")


-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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