This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with margins


I've made some modification of my DSSSL stylesheet, but I have some trouble with
my margin.They are variable, sometime my document is more on top, another time
the text is more at the bottom.


Anybody what can I do?

there is my margin definitions:

;;======================================
;;Margins
;;======================================

(define %left-right-margin% 4pi)

;;How much indentation for the body?
;(define %body-start-indent% 
; 2pi)

;;How big is the left margin? (relative to physical page)
(define %left-margin%
 6pi) ;white-paper-column
 
;;How big is the right margin? (relative to physical page)
(define %right-margin% 
 4pi) ;white-paper-column
 
;;How big do you want the margin at the top?
(define %top-margin%
(if (equal? %visual-acuity% "large-type")
      9pi
      7.5pi))

;;How big do you want the margin at the bottom?
(define %bottom-margin%
 (if (equal? %visual-acuity% "large-type")
      6.5pi 
      5pi))


                                     Mathieu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]