]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-beam-knee-gap.ly
3bd380f2c74daffb747cbfbe5b71c9e8087ddfb5
[lilypond.git] / Documentation / snippets / changing-beam-knee-gap.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.16.0"
8
9 \header {
10   lsrtags = "rhythms"
11
12   texidoc = "
13 Kneed beams are inserted automatically when a large gap is detected
14 between the note heads.  This behavior can be tuned through the
15 @code{auto-knee-gap} property.  A kneed beam is drawn if the gap is
16 larger than the value of @code{auto-knee-gap} plus the width of the
17 beam object  (which depends on the duration of the notes and the slope
18 of the beam). By default @code{auto-knee-gap} is set to 5.5 staff
19 spaces.
20
21 "
22   doctitle = "Changing beam knee gap"
23 } % begin verbatim
24
25
26 {
27   f8 f''8 f8 f''8
28   \override Beam #'auto-knee-gap = #6
29   f8 f''8 f8 f''8
30 }