Next: , Previous: System start delimiters, Up: Staff notation


6.4.8 Staff symbol

Notes, dynamic signs, etc., are grouped with a set of horizontal lines, called a staff (plural ‘staves’). In LilyPond, these lines are drawn using a separate layout object called staff symbol.

The staff symbol may be tuned in the number, thickness and distance of lines, using properties. This is demonstrated in the example files staff/changing-the-number-of-lines-in-a-staff.ly and staff/changing-the-staff-size.ly .

In addition, staves may be started and stopped at will. This is done with \startStaff and \stopStaff.

b4 b
\override Staff.StaffSymbol #'line-count = 2
\stopStaff \startStaff
b b
\revert Staff.StaffSymbol #'line-count
\stopStaff \startStaff
b b

[image of music]

In combination with Frenched staves, this may be used to typeset ossia sections. An example is shown here

[image of music]

See also

Program reference: StaffSymbol.

Examples: staff/


Next: , Previous: System start delimiters, Up: Staff notation

Diese Seite ist für LilyPond-2.11.28 (Entwicklungszweig).

Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.

Your suggestions for the documentation are welcome.