]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-beam-knee-gap.ly
Add '-dcrop' option to ps and svg backends
[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.di.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.18.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   f8 f''8 f8 f''8
27   \override Beam.auto-knee-gap = #6
28   f8 f''8 f8 f''8
29 }