]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/manually-controlling-beam-positions.ly
Merge branch 'translation' into staging
[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.17.6"
8
9 \header {
10   lsrtags = "connecting-notes, 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
24 \relative c' {
25   \time 2/4
26   % from upper staff-line (position 2) to center (position 0)
27   \override Beam.positions = #'(2 . 0)
28   c8 c
29   % from center to one above center (position 1)
30   \override Beam.positions = #'(0 . 1)
31   c8 c
32 }