]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/manually-controlling-beam-positions.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / manually-controlling-beam-positions.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.20"
5
6 \header {
7   lsrtags = "rhythms, tweaks-and-overrides"
8
9   texidoc = "
10 Beam positions may be controlled manually, by overriding the
11 @code{positions} setting of the @code{Beam} grob.
12
13
14
15
16 "
17   doctitle = "Manually controlling beam positions"
18 } % begin verbatim
19
20 \relative c' {
21   \time 2/4
22   % from upper staff-line (position 2) to center (position 0)
23   \override Beam #'positions = #'(2 . 0)
24   c8 c
25   % from center to one above center (position 1)
26   \override Beam #'positions = #'(0 . 1)
27   c8 c
28 }
29
30