]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-blank-staves.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / creating-blank-staves.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, 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 #(set-global-staff-size 20)
23
24 \score {
25   {
26     \repeat unfold 12 { s1 \break }
27   }
28   \layout {
29     indent = 0\in
30     \context {
31       \Staff
32       \remove "Time_signature_engraver"
33       \remove "Clef_engraver"
34       \remove "Bar_engraver"
35     }
36     \context {
37       \Score
38       \remove "Bar_number_engraver"
39     }
40   }
41 }
42
43 % uncomment these lines for "letter" size
44 %{
45 \paper {
46   #(set-paper-size "letter")
47   ragged-last-bottom = ##f
48   line-width = 7.5\in
49   left-margin = 0.5\in
50   bottom-margin = 0.25\in
51   top-margin = 0.25\in
52 }
53 %}
54
55 % uncomment these lines for "A4" size
56 %{
57 \paper {
58   #(set-paper-size "a4")
59   ragged-last-bottom = ##f
60   line-width = 180
61   left-margin = 15
62   bottom-margin = 10
63   top-margin = 10
64 }
65 %}