]> git.donarmstrong.com Git - lilypond.git/blob - ly/paper-defaults.ly
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / ly / paper-defaults.ly
1 \version "2.7.39"
2
3 \paper {
4
5     %%%% WARNING
6
7     %%% if you  add any new dimensions, don't forget to update
8     %%% the dimension-variables variable. see paper.scm
9     
10     unit = #(ly:unit)
11     mm = 1.0
12     in = 25.4
13     pt = #(/  in 72.27)
14     cm = #(* 10 mm)
15
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
21
22     %%
23     %% 20pt staff, 5 pt = 1.75 mm
24     %%
25
26     output-scale = #1.7573
27     
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)
31     
32     %%
33     %% ugh. hard coded?
34     %%
35
36     #(layout-set-staff-size (* 20.0 pt))
37
38
39     #(define-public score-title-properties
40       '((is-title . #t)
41         (is-book-title . #f)
42         ))
43     #(define-public book-title-properties
44       '((is-title . #t)
45         (is-book-title . #t)
46         ))
47     
48     %%
49     %% this dimension includes the extent of the
50     %% staves themselves.
51     %%
52     between-system-space = #(* 20 mm)
53     
54     
55     %%
56     %% fixed space between systems.
57     %%
58     between-system-padding = #(* 4 mm)
59
60     after-title-space = 5 \mm
61     before-title-space = 10 \mm
62     between-title-space = 2 \mm
63
64
65     %%
66     %% Small staves are aligned so they come out on the same place on
67     %% across different pages.
68     %%
69     page-top-space = #(* 12 mm)
70
71     
72     ragged-bottom = ##f
73
74     %%
75     %% looks best for shorter scores.
76     %%
77     ragged-last-bottom= ##t
78
79     #(define font-defaults
80       '((font-encoding . fetaMusic)))
81
82     %% use lmodern in latin1 (cork) flavour if EC is not available.
83     #(define text-font-defaults
84       `((font-encoding .
85          ,(cond
86            (tex-backend? 'Extended-TeX-Font-Encoding---Latin)
87            (else 'latin1)))
88         ;; add to taste here.
89         
90         (baseline-skip . 3)
91         (word-space . 0.6)))
92
93     #(define page-breaking optimal-page-breaks)
94 %    #(define page-music-height default-page-music-height )
95 %    #(define page-make-stencil default-page-make-stencil )
96
97     #(define make-header (marked-up-headfoot 'oddHeaderMarkup 'evenHeaderMarkup))
98     #(define make-footer (marked-up-headfoot 'oddFooterMarkup 'evenFooterMarkup))
99     #(set-paper-dimension-variables (current-module))
100
101     \include "titling-init.ly"
102
103     top-margin = 5 \mm
104     bottom-margin = 6 \mm
105     head-separation = 4 \mm
106     foot-separation = 4 \mm
107     right-margin = 10 \mm
108
109     left-margin = ##f
110     first-page-number = #1
111     print-first-page-number =##f
112   }