]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/manually-controlling-beam-positions.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / manually-controlling-beam-positions.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.0"
8
9 \header {
10   lsrtags = "rhythms, tweaks-and-overrides"
11
12   texidoc = "
13 Beam positions may be controlled manually, by overriding the
14 @code{positions} setting of the @code{Beam} grob.
15
16
17
18
19 "
20   doctitle = "Manually controlling beam positions"
21 } % begin verbatim
22
23 \relative c' {
24   \time 2/4
25   % from upper staff-line (position 2) to center (position 0)
26   \override Beam #'positions = #'(2 . 0)
27   c8 c
28   % from center to one above center (position 1)
29   \override Beam #'positions = #'(0 . 1)
30   c8 c
31 }
32
33