the entire piece is formatted with thick stems:
@lilypond
\score { \notes {
+ \property Score.Stem \override #'thickness = #2.0
\once\property Voice. DynamicLineSpanner \override #'padding = #4.0
g'4-\f g4
}
there is no need to fear: normally, it is not necessary to define
style-sheets or rewrite formatting functions. In fact, LilyPond gets a
lot of formatting right automatically, so adjusting individual layout
-situations is not needed very often.
+situations is not needed very often at all.
@node Music representation
* Piano staffs::
* Setting variables::
* Fine tuning layout::
-* Organising larger pieces::
+* Organizing larger pieces::
* An orchestral part::
* Integrating text and music:: Integrating text and music
@end menu
as each staff has a different name. If you give them the same name,
they are assumed to belong on the same staff, and will be printed like
that. @code{\simultaneous } indicates that both fragments happen at
-the same time, and must be printed stacked vertically.
+the same time, and must be printed stacked vertically. The notation
+@code{< .. >} can also be used as a shorthand for @code{\simultaneous
+@{ .. @}}.
@separate
discussed in @ref{Vocal music}.
+
+TODO: discuss contexts.
+
+
@node A lead sheet
@section A lead sheet
< @{ a4 g2 f4-~ f4 @} \\
@{ r4 g4 f2 f4 @} >
@end example
-@lilypond[relative]
-\context Staff < { a4 g2 f4-~ f4 } \\
+@lilypond[relative=1]
+\context Staff < { a4 g2 f4-~ f4 } \\
{ r4 g4 f2 f4 } >
@end lilypond
-The notation @code{< .. >} is a shorthand for @code{\simultaneous @{
-.. @}}.
For polyphonic typesetting spacer rests can also be convenient: these
are rests that do not print. It is useful for filling up voices that
@{ s4 g4 f2 f4 @} >
@end example
@lilypond[relative]
- < { a4 g2 f4-~ f4 } \\
+\context Staff < { a4 g2 f4-~ f4 } \\
{ s4 g4 f2 f4 } >
@end lilypond
@cindex setting object properties
-@lilypond[relative=1,verbatim]
-\stemUp
-f-5
-\once \property Voice.Fingering
- \set #'extra-offset = #'(-0.3 . -1.8)
-f-5
-@end lilypond
-
-@lilypond[relative=1,verbatim]
+@lilypond[relative=2,verbatim]
\stemUp
f-5
\once \property Voice.Fingering
in that voice, the tie appears to cross voices.
@lilypond[fragment,relative=1]
-< {
+\context Staff < {
\once \property Voice.Stem \set #'transparent = ##t
b8~ b8
} \\ {
discusses in depth how to figure out these statements for yourself, in
@ref{Tuning output}.
-@node Organising larger pieces
-@section Organising larger pieces
+@node Organizing larger pieces
+@section Organizing larger pieces
TODO: discuss identifiers, p&c, .