]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/change-ambitus-gap.ly
a70ad474c8a4f203eddfc5a2bf40322d34c67612
[lilypond.git] / Documentation / snippets / change-ambitus-gap.ly
1 % Do not edit this file; it is automatically
2 % generated from Documentation/snippets/new
3 % This file is in the public domain.
4 %% Note: this file works from version 2.13.26
5 \version "2.13.26"
6 \header {
7   lsrtags = "pitches"
8   texidoc = "It is possible to change the default gap setting for
9 Ambitus."
10
11   doctitle = "change-ambitus-gap.ly"
12 } % begin verbatim
13
14
15 \layout {
16   \context {
17     \Voice
18     \consists "Ambitus_engraver"
19   } % begin verbatim
20
21 }
22
23 \new Staff {
24   \time 2/4
25   % Default setting
26   c'4 g''
27 }
28
29 \new Staff {
30   \time 2/4
31   \override AmbitusLine #'gap = #0
32   c'4 g''
33 }
34
35 \new Staff {
36   \time 2/4
37   \override AmbitusLine #'gap = #1
38   c'4 g''
39 }
40
41 \new Staff {
42   \time 2/4
43   \override AmbitusLine #'gap = #1.5
44   c'4 g''
45 }