better zooming

main
Matthew Butterick 6 years ago
parent 3ef91a0f4b
commit ae4d53a787

@ -322,11 +322,11 @@
(make-nobreak! ln)]))
(cons ln reversed-lines)))
(define zoom-mode? #t)
(define zoom-mode? #f)
(define zoom-scale 2)
(define top-margin 60)
(define bottom-margin 120)
(define side-margin 120)
(define top-margin (/ 60 (if zoom-mode? zoom-scale 1)))
(define bottom-margin (/ 120 (if zoom-mode? zoom-scale 1)))
(define side-margin (/ 120 (if zoom-mode? zoom-scale 1)))
(define page-offset (pt (/ side-margin (if zoom-mode? 3 1))
(/ top-margin (if zoom-mode? 3 1))))
(require racket/date)

Loading…
Cancel
Save