m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/lilypond.md
blob: a59c48de7bdf1702be64002a7e829fb99590b1a0 (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
# 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
    }

## 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 |