1 %%%% This file is part of LilyPond, the GNU music typesetter.
3 %%%% Copyright (C) 2004--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
4 %%%% Jan Nieuwenhuizen <janneke@gnu.org>
5 %%%% Neil Puttock <n.puttock@gmail.com>
7 %%%% LilyPond is free software: you can redistribute it and/or modify
8 %%%% it under the terms of the GNU General Public License as published by
9 %%%% the Free Software Foundation, either version 3 of the License, or
10 %%%% (at your option) any later version.
12 %%%% LilyPond is distributed in the hope that it will be useful,
13 %%%% but WITHOUT ANY WARRANTY; without even the implied warranty of
14 %%%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 %%%% GNU General Public License for more details.
17 %%%% You should have received a copy of the GNU General Public License
18 %%%% along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
25 %%% If you add any new dimensions, don't forget to update
26 %%% the dimension-variables variable. See paper.scm.
34 print-page-number
= ##t
37 %% 20pt staff, 5 pt = 1.75 mm
40 output-scale
= #1.7573
42 #(define-public book-title
(marked-up-title
'bookTitleMarkup
))
43 #(define-public score-title
(marked-up-title
'scoreTitleMarkup
))
49 #(layout-set-absolute-staff-size
(* 20.0 pt
))
52 #(define-public score-title-properties
54 (is-book-title
. #f)))
55 #(define-public book-title-properties
57 (is-book-title
. #t
)))
59 %% Note: these are not scaled; they are in staff-spaces.
60 between-system-spacing
= #'((space
. 12) (minimum-distance
. 8) (padding
. 1))
61 between-scores-system-spacing
= #'((space
. 14) (minimum-distance
. 8) (padding
. 1))
62 after-title-spacing
= #'((space
. 2) (padding
. 0.5))
63 before-title-spacing
= #'((space
. 5) (padding
. 0.5))
64 between-title-spacing
= #'((space
. 1) (padding
. 0.5))
65 top-system-spacing
= #'((space
. 1) (padding
. 1) (minimum-distance
. 0))
66 top-title-spacing
= #'((space
. 0) (padding
. 1) (minimum-distance
. 0))
67 bottom-system-spacing
= #'((space
. 1) (padding
. 1) (minimum-distance
. 0) (stretchability
. 5))
72 %% looks best for shorter scores.
74 ragged-last-bottom
= ##t
77 %% settings for the page breaker
79 blank-last-page-force
= 0
80 blank-after-score-page-force
= 2
83 #(define font-defaults
84 '((font-family
. feta
) (font-encoding
. fetaMusic
)))
87 %% the font encoding `latin1' is a dummy value for Pango fonts
89 #(define text-font-defaults
90 `
((font-encoding
. latin
1)
94 #(define page-breaking ly
:optimal-breaking
)
96 #(define make-header
(marked-up-headfoot
'oddHeaderMarkup
'evenHeaderMarkup
))
97 #(define make-footer
(marked-up-headfoot
'oddFooterMarkup
'evenFooterMarkup
))
98 #(set-paper-dimension-variables
(current-module
))
100 \include "titling-init.ly"
102 check-consistency
= ##t
105 % These margins apply to the default paper format given by (ly:get-option 'paper-size)
106 % and are scaled accordingly for other formats
108 top-margin-default
= 5 \mm
109 bottom-margin-default
= 6 \mm
111 left-margin-default
= 10 \mm
112 right-margin-default
= 10 \mm
114 inner-margin-default
= 10 \mm
115 outer-margin-default
= 20 \mm
116 binding-offset-default
= 0 \mm
118 head-separation-default
= 4 \mm
119 foot-separation-default
= 4 \mm
121 indent-default
= 15 \mm
122 short-indent-default
= 0 \mm
124 first-page-number
= #1
125 print-first-page-number
= ##f