Adding an extra staff (2): Difference between revisions
No edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
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 /> | 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 /> | 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 /> | 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>. | If you want to keep the little beginning of staff, keep at least one <code>#'transparent = ##t</code>. | ||
<lilypond version="2.24" | <lilypond version="2.24"> | ||
\markup { Example 1 } | \markup { Example 1 } | ||
| Line 52: | Line 48: | ||
} | } | ||
} | } | ||
</lilypond> | </lilypond> | ||
[[Category:Contexts and engravers]] | [[Category:Contexts and engravers]] | ||
[[Category:Really simple]] | |||
[[Category:Simultaneous notes]] | [[Category:Simultaneous notes]] | ||
[[Category: | [[Category:Staff notation]] | ||
[[Category:Snippet]] | |||