]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-blank-staves.ly
f3ce936a667ef5d8c2506fd0317e91e1b4ef6e22
[lilypond.git] / Documentation / snippets / creating-blank-staves.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.14.2"
8
9 \header {
10   lsrtags = "contexts-and-engravers, editorial-annotations, paper-and-layout, specific-notation, staff-notation"
11
12   texidoc = "
13 To create blank staves, generate empty measures then remove the
14 @code{Bar_number_engraver} from the @code{Score} context, and the
15 @code{Time_signature_engraver}, @code{Clef_engraver} and
16 @code{Bar_engraver} from the @code{Staff} context.
17
18 "
19   doctitle = "Creating blank staves"
20 } % begin verbatim
21
22
23 #(set-global-staff-size 20)
24
25 \score {
26   {
27     \repeat unfold 12 { s1 \break }
28   }
29   \layout {
30     indent = 0\in
31     \context {
32       \Staff
33       \remove "Time_signature_engraver"
34       \remove "Clef_engraver"
35       \remove "Bar_engraver"
36     }
37     \context {
38       \Score
39       \remove "Bar_number_engraver"
40     }
41   }
42 }
43
44 \paper {
45   #(set-paper-size "letter")
46   ragged-last-bottom = ##f
47   line-width = 7.5\in
48   left-margin = 0.5\in
49   bottom-margin = 0.25\in
50   top-margin = 0.25\in
51 }