]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-an-extra-staff.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / adding-an-extra-staff.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.17.6"
8
9 \header {
10   lsrtags = "contexts-and-engravers, really-simple, staff-notation"
11
12   texidoc = "
13 An extra staff can be added (possibly temporarily) after the start of a
14 piece.
15
16 "
17   doctitle = "Adding an extra staff"
18 } % begin verbatim
19
20
21 \score {
22   <<
23     \new Staff \relative c'' {
24       c1 | c | c | c | c
25     }
26     \new StaffGroup \relative c'' {
27       \new Staff {
28         c1 | c
29         <<
30           {
31             c1 | d
32           }
33           \new Staff {
34             \once \override Staff.TimeSignature.stencil = ##f
35             c1 | b
36           }
37         >>
38         c1
39       }
40     }
41   >>
42 }