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