]> git.donarmstrong.com Git - lilypond.git/blob - input/new/specifying-context-with-beatgrouping.ly
Add support for max-systems-per-page.
[lilypond.git] / input / new / specifying-context-with-beatgrouping.ly
1 \version "2.11.61"
2
3 \header {
4   lsrtags = "rhythms"
5   texidoc = "
6 By specifying the context, the effect of @code{beatGrouping} can be
7 limited to the context specified, and the values which may have
8 been set in higher-level contexts can be overridden:
9 "
10   doctitle = "Specifying context with beatGrouping"
11 }
12
13 \score {
14   \new Staff <<
15     \time 7/8
16     \new Voice {
17       \relative c'' {
18         \set Staff.beatGrouping = #'(2 3 2)
19         a8 a a a a a a
20       }
21     }
22     \new Voice {
23       \relative c' {
24         \voiceTwo
25         \set Voice.beatGrouping = #'(1 3 3)
26         f8 f f f f f f
27       }
28     }
29   >>
30 }