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