]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/adding-an-extra-staff.ly
Add '-dcrop' option to ps and svg backends
[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.di.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.18.0"
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 \score {
21   <<
22     \new Staff \relative c'' {
23       c1 | c | c | c | c
24     }
25     \new StaffGroup \relative c'' {
26       \new Staff {
27         c1 | c
28         <<
29           {
30             c1 | d
31           }
32           \new Staff {
33             \once \omit Staff.TimeSignature
34             c1 | b
35           }
36         >>
37         c1
38       }
39     }
40   >>
41 }