]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/partcombine-and-autobeamoff.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / partcombine-and-autobeamoff.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 The function of @code{\\autoBeamOff} when used with
14 @code{\\partcombine} can be difficult to understand.
15
16 It may be preferable to use
17
18
19 @code{\\set Staff.autoBeaming = ##f}
20
21
22 instead, to ensure that autobeaming will be turned off for the entire
23 staff.
24
25
26 @code{\\partcombine} apparently works with 3 voices -- stem up single,
27 stem down single, stem up combined.
28
29
30 An @code{\\autoBeamOff} call in the first argument to partcombine will
31 apply to the voice that is active at the time the call is processed,
32 either stem up single or stem up combined. An @code{\\autoBeamOff} call
33 in the second argument will apply to the voice that is stem down single.
34
35
36 In order to use @code{\\autoBeamOff} to stop all autobeaming when used
37 with @code{\\partcombine}, it will be necessary to use three calls to
38 @code{\\autoBeamOff}.
39
40
41
42
43 "
44   doctitle = "Partcombine and autoBeamOff"
45 } % begin verbatim
46
47 {
48   %\set Staff.autoBeaming = ##f % turns off all autobeaming
49   \partcombine
50   {
51     \autoBeamOff % applies to split up stems
52     \repeat unfold 4 a'16
53     %\autoBeamOff % applies to combined up stems
54     \repeat unfold 4 a'8
55     \repeat unfold 4 a'16
56   }
57   {
58     \autoBeamOff % applies to down stems
59     \repeat unfold 4 f'8
60     \repeat unfold 8 f'16 |
61   }
62 }