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 print-page-number
= ##t
19 %% 20pt staff, 5 pt = 1.75 mm
22 output-scale
= #1.7573
24 #(define-public book-title
(marked-up-title
'bookTitleMarkup
))
25 #(define-public score-title
(marked-up-title
'scoreTitleMarkup
))
26 #(define-public force-eps-font-include
#f)
32 #(layout-set-absolute-staff-size
(* 20.0 pt
))
35 #(define-public score-title-properties
39 #(define-public book-title-properties
45 %% this dimension includes the extent of the
48 between-system-space
= #(* 20 mm
)
52 %% fixed space between systems.
54 between-system-padding
= #(* 4 mm
)
56 after-title-space
= 5 \mm
57 before-title-space
= 10 \mm
58 between-title-space
= 2 \mm
62 %% Small staves are aligned so they come out on the same place on
63 %% across different pages.
65 page-top-space
= #(* 12 mm
)
71 %% looks best for shorter scores.
73 ragged-last-bottom
= ##t
76 %% settings for the page breaker
78 blank-last-page-force
= 0
79 blank-after-score-page-force
= 2
83 %% To limit space between systems on a page with a lot of space left
85 page-limit-inter-system-space
= ##f
86 page-limit-inter-system-space-factor
= 1.4
88 #(define font-defaults
89 '((font-encoding
. fetaMusic
)))
92 %% the font encoding `latin1' is a dummy value for Pango fonts
94 #(define text-font-defaults
95 `
((font-encoding
. latin
1)
99 #(define page-breaking ly
:optimal-breaking
)
100 #(define page-breaking-wrapper page-breaking-wrapper
)
101 #(define page-post-process post-process-pages
)
103 #(define write-page-layout
(ly
:get-option
'dump-tweaks
))
104 #(define system-maximum-stretch-procedure
106 (if
(stretchable-line? line
)
107 (let
((height
(line-height line
)))
108 (/ (* height height
) 80.0))
111 % #(define page-music-height default-page-music-height )
112 % #(define page-make-stencil default-page-make-stencil )
114 #(define make-header
(marked-up-headfoot
'oddHeaderMarkup
'evenHeaderMarkup
))
115 #(define make-footer
(marked-up-headfoot
'oddFooterMarkup
'evenFooterMarkup
))
116 #(set-paper-dimension-variables
(current-module
))
118 \include "titling-init.ly"
121 bottom-margin
= 6 \mm
122 head-separation
= 4 \mm
123 foot-separation
= 4 \mm
125 first-page-number
= #1
126 print-first-page-number
=##f