Jump to content

Adding an extra staff: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
An extra staff can be added (possibly temporarily) after the start of a piece.
An extra staff can be added (possibly temporarily) after the start of a piece.


<lilypond version="2.24.0">
<lilypond version="2.24">
\score {
\score {
   <<
   <<
Line 11: Line 11:
         c1 | c
         c1 | c
         <<
         <<
           {
           { c1 | d }
            c1 | d
          }
           \new Staff {
           \new Staff {
             \once \omit Staff.TimeSignature
             \once \omit Staff.TimeSignature
Line 26: Line 24:
</lilypond>
</lilypond>


[[Category:Staff notation]]
[[Category:Staff notation]]
[[Category:Contexts and engravers]]
[[Category:Contexts and engravers]]
[[Category:Really simple]]
[[Category:Really simple]]
[[Category:Staff notation]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 07:47, 5 December 2025

An extra staff can be added (possibly temporarily) after the start of a piece.

\version "2.24"

\score {
  <<
    \new Staff \relative c'' {
      c1 | c | c | c | c
    }
    \new StaffGroup \relative c'' {
      \new Staff {
        c1 | c
        <<
          { c1 | d }
          \new Staff {
            \once \omit Staff.TimeSignature
            c1 | b
          }
        >>
        c1
      }
    }
  >>
}