]> git.donarmstrong.com Git - lilypond.git/blob - input/test/engraver-contexts.ly
6ef81e49124204dcd2a185fa1e0f487b1acb2120
[lilypond.git] / input / test / engraver-contexts.ly
1 \version "2.3.22"
2 \header {
3     
4 texidoc ="In polyphonic notation, many voices can share a staff: In
5 this situation, the accidentals and staff are shared, but the stems,
6 slurs, beams, etc. are private to each voice. Hence, engravers should
7 be grouped. The engravers for note head, stems, slurs, etc. go into a
8 group called ``Voice context'', while the engravers for key,
9 accidental, bar, etc. go into a group called ``Staff context''. In the
10 case of polyphony, a single Staff context contains more than one Voice
11 context. Similarly, more Staff contexts can be put into a single Score
12 context. "
13
14 }
15
16 \include "engraver-example.lyinc"
17
18 \score {
19 \context Staff << \topVoice \\ \botVoice >>
20 }
21
22
23 \score {
24 << \new Staff << \topVoice \\ \botVoice >>
25 \new Staff << \pah \\ \hoom >>
26   >>
27 }
28
29
30