@menu
* Instantiating new staves::
* Grouping staves::
-* Deeper nested staff groups::
+* Nested staff groups::
@end menu
@rinternals{SystemStartSquare}.
-@node Deeper nested staff groups
-@unnumberedsubsubsec Deeper nested staff groups
+@node Nested staff groups
+@unnumberedsubsubsec Nested staff groups
@cindex staff, nested
@cindex staves, nested
{ a4 b c d }
@end lilypond
-The width of a staff can be modified. The unit is one staff
-space. The spacing of objects inside the staff is not affected by
+The width of a staff can be modified. The units are staff
+spaces. The spacing of objects inside the staff is not affected by
this setting.
@lilypond[verbatim,quote,relative=1]
@end lilypond
Further details about the properties of @code{StaffSymbol} can be
-found here: @rinternals{staff-symbol-interface}.
+found in @rinternals{staff-symbol-interface}.
@funindex \startStaff
@funindex \stopStaff
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \remove "Clef_engraver"
+ \override Clef #'transparent = ##t
fontSize = #-3
\override StaffSymbol #'staff-space = #(magstep -3)
\override StaffSymbol #'thickness = #(magstep -3)
<<
\new Staff = ossia \with {
\remove "Time_signature_engraver"
- \remove "Clef_engraver"
+ \override Clef #'transparent = ##t
fontSize = #-3
\override StaffSymbol #'staff-space = #(magstep -3)
\override StaffSymbol #'thickness = #(magstep -3)
default. To center multi-line instrument names,
@code{\center-column} must be used:
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote,indent=1.5\cm,relative=2]
<<
\new Staff {
\set Staff.instrumentName = "Flute"
}
\new Staff {
\set Staff.instrumentName = \markup \center-column {
- Clarinetti
+ Clarinet
\line { "in B" \smaller \flat }
}
c4 b c2
@lilypond[verbatim,quote,ragged-right]
\layout {
- indent = 2.5\cm
+ indent = 3.0\cm
short-indent = 1.5\cm
}
\relative c'' <<
\new Staff {
- \set Staff.instrumentName = "Flute"
+ \set Staff.instrumentName = "Alto Flute in G"
\set Staff.shortInstrumentName = "Fl."
f2 g4 f \break
g4 f g2
@code{\instrumentSwitch} to create a detailed list of the
necessary changes for the switch. The
@code{\addInstrumentDefinition} command has two arguments: an
-identifying string, and an alist of context properties and values
-to be used for the instrument. It must be placed in the toplevel
-scope. @code{\instrumentSwitch} is used in the music expression
-to declare the instrument switch:
+identifying string, and an association list of context properties
+and values to be used for the instrument. It must be placed in
+the toplevel scope. @code{\instrumentSwitch} is used in the music
+expression to declare the instrument switch:
@lilypond[verbatim,quote,ragged-right]
\addInstrumentDefinition #"contrabassoon"
@cindex fragments
@cindex cue notes
-Fragments of other parts can be inserted directly into a music
-expression; this is called @emph{quotation}. Before a part can be
-quoted, the @code{\addQuote} command must be used to initialize
-the quoted fragment. This command must be used in the toplevel
-scope. The first argument is an identifying string, and the
-second is a music expression:
+It is very common for one voice to double the some of the music from
+another voice. For example, the first and second violins may play the
+same notes during a passage of music. In LilyPond this is accomplished
+by letting one voice @emph{quote} the other voice without having to
+re-enter it.
+
+Before a part can be quoted, the @code{\addQuote} command must be used
+to initialize the quoted fragment. This command must be used in the
+toplevel scope. The first argument is an identifying string, and the
+second is a music expression:
@example
flute = \relative c'' @{
\addQuote "flute" @{ \flute @}
@end example
-The @code{\quoteDuring} command is used to indicate when the
-quotation should take place. The corresponding measures from the
-quotation are inserted into the music expression. The syntax is
-similar to @code{\addQuote}:
+The @code{\quoteDuring} command is used to indicate the point where the
+quotation begins. It is followed by two arguments: the name of the
+quoted voice, as defined with @code{\addQuote}, and a music expression
+that indicates the duration of the quote, usually spacer rests or
+multi-measure rests. The corresponding music from the quoted voice is
+inserted into the music expression:
@lilypond[verbatim,quote]
flute = \relative c'' {
notes into a part. The syntax is as follows:
@example
- \cueDuring #@var{partname} #@var{voice} @var{music}
+\cueDuring #@var{partname} #@var{voice} @var{music}
@end example
This command copies the corresponding measures from @var{partname}