]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/permitting-line-breaks-within-beamed-tuplets.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[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.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, 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 \layout {
22   \context {
23     \Voice
24     % Permit line breaks within tuplets
25     \remove "Forbid_line_break_engraver"
26     % Allow beams to be broken at line breaks
27     \override Beam.breakable = ##t
28   }
29 }
30 \relative c'' {
31   a8
32   \repeat unfold 5 { \tuplet 3/2 { c[ b a] } }
33   % Insert a manual line break within a tuplet
34   \tuplet 3/2 { c[ b \bar "" \break a] }
35   \repeat unfold 5 { \tuplet 3/2 { c[ b a] } }
36   c8
37 }