]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/permitting-line-breaks-within-beamed-tuplets.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / permitting-line-breaks-within-beamed-tuplets.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 = "rhythms, version-specific"
11
12   texidoc = "
13 This artificial example shows how both manual and automatic line breaks
14 may be permitted to within a beamed tuplet. Note that such off-beat
15 tuplets have to be beamed manually.
16
17 "
18   doctitle = "Permitting line breaks within beamed tuplets"
19 } % begin verbatim
20
21
22 \layout {
23   \context {
24     \Voice
25     % Permit line breaks within tuplets
26     \remove "Forbid_line_break_engraver"
27     % Allow beams to be broken at line breaks
28     \override Beam.breakable = ##t
29   }
30 }
31 \relative c'' {
32   a8
33   \repeat unfold 5 { \times 2/3 { c[ b a] } }
34   % Insert a manual line break within a tuplet
35   \times 2/3 { c[ b \bar "" \break a] }
36   \repeat unfold 5 { \times 2/3 { c[ b a] } }
37   c8
38 }