blob: 3146dc3165d487494a0ba25ce6f1d2bbbd60381b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Lilypond stuff
Docs: `info LilyPond`.
## Fine-grained page size
#(set! paper-alist (cons '("custom size" . (cons (* 3.8 cm) (* 1.6 cm)))
paper-alist))
\paper {
#(set-paper-size "custom size")
}
## Remove footer
\header {
tagline = ##f
}
## Paper settings
Indentation of first line:
\paper {
indent = 0
}
## Rhythm stuff
### Setting beat divisions
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
#'(3 1) % beatStructure
#'() % beamExceptions
\time 4/4
\repeat unfold 8 { c8 } |
\revertTimeSignatureSettings 4/4 % reverts to defaults
\time 4/4
\repeat unfold 8 { c8 } |
### Pickup measure
\time 3/4
\partial 8
e8 | a4 c8 b c4 |
## Output formats
lilypond --svg file.ly
lilypond --png file.ly
Its useful to have these cropped:
lilypond --svg -dcrop file.ly
Will output both an A4-sized file.svg, and the cropped file.cropped.svg.
Suppress the non-cropped output with `-dno-print-pages`.
## Notation
Tie:
a~ a
|