Next: Hiding staves, Previous: System start delimiters, Up: Displaying staves
The layout object which draws the lines of a staff is 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
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
In combination with Frenched staves, this may be used to typeset ossia sections. An example is shown here
<< \new Staff \with { \remove "Time_signature_engraver" fontSize = #-2 \override StaffSymbol #'staff-space = #(magstep -2) firstClef = ##f } \relative c'' { \stopStaff \skip 2 \startStaff \clef treble bes8[^"ossia" g bes g] \stopStaff s2 \startStaff f8 d g4 } \new Staff \relative { \time 2/4 c4 c g' g a a g2 } >>
Music Glossary: ossia, staff, Frenched staff.
Snippets: Staff
Internals Reference: StaffSymbol,
DrumStaff.
Next: Hiding staves, Previous: System start delimiters, Up: Displaying staves
This page is for LilyPond-2.11.40 (development-branch).
Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.