Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 2: Tutorial 26<br />
To print more than one staff, each piece of music that makes up a staff is marked by adding<br />
\new Staff before it. These Staff elements are then combined in parallel with >:<br />
\relative c'' {<br />
><br />
}<br />
�<br />
�<br />
� �<br />
� �<br />
The command \new introduces a ‘notation context.’ A notation context is an environment<br />
in which musical events (like notes or \clef commands) are interpreted. For simple pieces,<br />
such notation contexts are created automatically. For more complex pieces, it is best to mark<br />
contexts explicitly.<br />
There are several types of contexts. Score, Staff, and Voice handle melodic notation, while<br />
Lyrics sets lyric texts and ChordNames prints chord names.<br />
In terms of syntax, prepending \new to a music expression creates a bigger music expression.<br />
In this way it resembles the minus sign in mathematics. The formula (4 + 5) is an expression,<br />
so −(4 + 5) is a bigger expression.<br />
Time signatures entered in one staff affects all other staves by default. On the other hand,<br />
the key signature of one staff does not affect other staves. This different default behavior is<br />
because scores with transposing instruments are more common than polyrhythmic scores.<br />
\relative c'' {<br />
><br />
}<br />
�<br />
� � 3 �<br />
4<br />
�<br />
4 3<br />
�<br />
�<br />
2.3.3 Staff groups<br />
Music Glossary: Section “brace” in Music Glossary.<br />
Piano music is typeset in two staves connected by a brace. Printing such a staff is similar<br />
to the polyphonic example in Section 2.3.2 [Multiple staves], page 25. However, now this entire<br />
expression is inserted inside a PianoStaff:<br />
\new PianoStaff