Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Adding an extra staff (2)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
To add an extra staff after the start of a piece, you can choose between having brackets or braces when you go over a new line:<br /> β Use '''<code>PianoStaff</code>''' instead of <code>StaffGroup</code> or <code>ChoirStaff</code> in the code. You may wish to remove the clef and not only the key:<br /> β See both '''<code>\override</code>'''s in the code. You may wish to remove also the little part of staff at the beginning of the extra staff:<br /> β Use '''<code>#'stencil = ##f</code>''' instead of <code>#'transparent = ##t</code> for ''both'' <code>\override</code>s.<br /> If you want to keep the little beginning of staff, keep at least one <code>#'transparent = ##t</code>. <lilypond version="2.24"> \markup { Example 1 } \score { \new StaffGroup \relative c'' { c1 | c | c^"extra staff with staff beginning" << { c1 | c | \break c1^"new system with brackets" | c } \new Staff { \once \override Staff.TimeSignature.transparent = ##t \once \override Staff.Clef.transparent = ##t e1 | e | e | e } >> c1 | c | c | c } } \markup { Example 2 } \score { \new PianoStaff \relative c'' { c1 | c | c^"clean beginning of extra staff" << { c1 | c | \break c1^"new system with braces" | c } \new Staff { \once \override Staff.TimeSignature.stencil = ##f \once \override Staff.Clef.stencil = ##f e1 e e e } >> c1 | c | c | c } } </lilypond> [[Category:Contexts and engravers]] [[Category:Really simple]] [[Category:Simultaneous notes]] [[Category:Staff notation]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)