]> git.donarmstrong.com Git - lilypond.git/blob - ly/declarations-init.ly
* lily/completion-note-heads-engraver.cc: rewrite engraver:
[lilypond.git] / ly / declarations-init.ly
1 #(ly:set-option 'old-relative)
2
3 \version "1.9.1"
4 breve = #(ly:make-duration -1 0)
5 longa = #(ly:make-duration -2 0 )
6 maxima = #(ly:make-duration -3 0)
7
8 \include "nederlands.ly"                % dutch
9 \include "chord-modifiers-init.ly"
10 \include "script-init.ly"
11
12 % declarations for standard directions
13 left = -1
14 right = 1
15 up = 1
16 down = -1
17 start = -1
18 stop = 1
19 smaller = -1
20 bigger = 1
21 center=0
22
23 %{
24
25 should also set allowBeamBreak, but how to do it "portably"? (ie. also
26 working with lyric sections)
27
28 %}
29 break =#(make-event-chord (list (make-penalty-music -10001)))
30 noBreak =  #(make-event-chord (list (make-penalty-music 10001)))
31
32 \include "scale-definitions-init.ly"
33
34 melisma = \property Staff.melismaBusy = ##t
35 melismaEnd = \property Staff.melismaBusy = ##f
36
37
38 \include "engraver-init.ly"
39 \include "grace-init.ly"
40
41 % ugh
42 \include "midi-init.ly"
43
44
45 % Do units first; must be done before any units are specified.
46 \paper {
47         unit = "mm"
48         mm = 1.0
49         in = 25.4
50         pt = #(/  in 72.27)
51         cm = #(* 10 mm)
52 }
53
54 papersize = "a4"
55 paperfile = \papersize + "-init.ly"
56
57 \include "generic-paper-init.ly"
58 \include "paper20-init.ly"
59
60
61 \include "dynamic-scripts-init.ly"
62 \include "spanners-init.ly"
63
64 \include "property-init.ly"
65
66
67
68 % reset default duration
69 unusedEntry = \notes { c4 }
70
71 % music = "\melodic\relative c"
72