2 #(use-modules
(scm layout-page-layout
))
7 %%% if you add any new dimensions, don't forget to update
8 %%% the dimension-variables variable. see paper.scm
16 %% This is weird; `everyone' uses LATIN1? How does I select TeX
17 %% input encoding in EMACS? -- jcn
18 %%%%input-encoding = #"TeX"
19 input-encoding
= #"latin1"
20 print-page-number
= ##t
23 %% 20pt staff, 5 pt = 1.75 mm
26 output-scale
= #1.7573
28 #(define-public book-title
(marked-up-title
'bookTitleMarkup
))
29 #(define-public score-title
(marked-up-title
'scoreTitleMarkup
))
30 #(define-public force-eps-font-include
#f)
36 #(layout-set-absolute-staff-size
(* 20.0 pt
))
39 #(define-public score-title-properties
43 #(define-public book-title-properties
49 %% this dimension includes the extent of the
52 between-system-space
= #(* 20 mm
)
56 %% fixed space between systems.
58 between-system-padding
= #(* 4 mm
)
60 after-title-space
= 5 \mm
61 before-title-space
= 10 \mm
62 between-title-space
= 2 \mm
66 %% Small staves are aligned so they come out on the same place on
67 %% across different pages.
69 page-top-space
= #(* 12 mm
)
75 %% looks best for shorter scores.
77 ragged-last-bottom
= ##t
80 %% settings for the page breaker
82 blank-last-page-force
= 0
83 blank-after-score-page-force
= 2
87 %% To limit space between systems on a page with a lot of space left
89 page-limit-inter-system-space
= ##f
90 page-limit-inter-system-space-factor
= 1.4
92 #(define font-defaults
93 '((font-encoding
. fetaMusic
)))
95 %% use lmodern in latin1 (cork) flavour if EC is not available.
96 #(define text-font-defaults
99 (tex-backend?
'Extended-T
eX-Font-Encoding---Latin
)
101 ;; add to taste here
.
106 #(define page-breaking ly
:optimal-breaking
)
107 #(define page-breaking-wrapper page-breaking-wrapper
)
108 #(define page-post-process post-process-pages
)
110 #(define write-page-layout
(ly
:get-option
'dump-tweaks
))
111 #(define system-maximum-stretch-procedure
113 (if
(stretchable-line? line
)
114 (let
((height
(line-height line
)))
115 (/ (* height height
) 80.0))
118 % #(define page-music-height default-page-music-height )
119 % #(define page-make-stencil default-page-make-stencil )
121 #(define make-header
(marked-up-headfoot
'oddHeaderMarkup
'evenHeaderMarkup
))
122 #(define make-footer
(marked-up-headfoot
'oddFooterMarkup
'evenFooterMarkup
))
123 #(set-paper-dimension-variables
(current-module
))
125 \include "titling-init.ly"
128 bottom-margin
= 6 \mm
129 head-separation
= 4 \mm
130 foot-separation
= 4 \mm
132 first-page-number
= #1
133 print-first-page-number
=##f