-@c -*-texinfo-*-
+@c -*- coding: latin-1; mode: texinfo; -*-
@c This file is part of lilypond.tely
@node Introduction
\stemDown b'4 e''4 a'4 e''4 | \bar "||"
\override Staff.NoteSpacing #'stem-spacing-correction = #0.0
\override Staff.StaffSpacing #'stem-spacing-correction = #0.0
- \stemBoth c'4 e''4 e'4 b'4 |
+ \stemNeutral c'4 e''4 e'4 b'4 |
\stemDown b'4 e''4 a'4 e''4 |
}
@end lilypond
note heads, the @code{Note_heads_engraver}.
@lilypond[quote,raggedright]
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
\score {
\topVoice
- \paper {
+ \layout {
\context {
\Voice
\remove "Stem_engraver"
Then a @code{Staff_symbol_engraver} adds the staff
@lilypond[quote,raggedright]
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
\score {
\topVoice
- \paper {
+ \layout {
\context {
\Voice
\remove "Stem_engraver"
the @code{Clef_engraver} defines a reference point for the staff
@lilypond[quote,raggedright]
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
\score {
\topVoice
- \paper {
+ \layout {
\context {
\Voice
\remove "Stem_engraver"
and the @code{Stem_engraver} adds stems.
@lilypond[quote,raggedright]
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
\score {
\topVoice
- \paper {
+ \layout {
\context {
\Voice
\remove "Phrasing_slur_engraver"
notation.
@lilypond[quote,raggedright]
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
\score { \topVoice }
@end lilypond
polyphony? In polyphonic notation, many voices can share a staff.
@lilypond[quote,raggedright]
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
\new Staff << \topVoice \\ \botVoice >>
@end lilypond
-In this situation, the accidentals and staff are shared, but the
-stems, slurs, beams, etc., are private to each voice. Hence, engravers
-should be grouped. The engravers for note heads, stems, slurs, etc., go
-into a group called `Voice context,' while the engravers for key,
-accidental, bar, etc., go into a group called `Staff context.' In the
-case of polyphony, a single Staff context contains more than one Voice
-context.
-Similarly, more Staff contexts can be put into a single Score context.
+In this situation, the accidentals and staff are shared, but the stems,
+slurs, beams, etc., are private to each voice. Hence, engravers should
+be grouped. The engravers for note heads, stems, slurs, etc., go into a
+group called `Voice context,' while the engravers for key, accidental,
+bar, etc., go into a group called `Staff context.' In the case of
+polyphony, a single Staff context contains more than one Voice context.
+Similarly, more Staff contexts can be put into a single Score
+context. The Score context is the top level notation context.
+
+@seealso
+
+Program reference: @internalsref{Contexts}.
@lilypond[quote,raggedright]
-\include "engraver-example.lyinc"
+\include "engraver-example.ily"
\score {
<<
\new Staff << \topVoice \\ \botVoice >>