]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/lyrics-old-spacing-settings.ly
Change lyrics-old-spacing-settings from DOS mode to unix mode
[lilypond.git] / Documentation / snippets / lyrics-old-spacing-settings.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.47
5 \version "2.13.47"
6
7 \header {
8   lsrtags = "vocal-music"
9   texidoc = "
10 The vertical spacing engine changed for version 2.14.  This can
11 cause lyrics to be spaced differently.  It is possible to set
12 properties for @code{Lyric} and @code{Staff} contexts to get the
13 spacing engine to behave as it did in version 2.12.
14 "
15 }
16
17 global = {
18   \key d \major
19   \time 3/4
20 }
21
22 sopMusic = \relative c' {
23   % VERSE ONE
24   fis4 fis fis | \break
25   fis4. e8 e4
26 }
27
28 altoMusic = \relative c' {
29   % VERSE ONE
30   d4 d d |
31   d4. b8 b4 |
32 }
33
34 tenorMusic = \relative c' {
35   a4 a a |
36   b4. g8 g4 |
37 }
38
39 bassMusic = \relative c {
40   d4 d d |
41   g,4. g8 g4 |
42 }
43
44 words = \lyricmode {
45   Great is Thy faith- ful- ness,
46 }
47
48 \score {
49   \new ChoirStaff <<
50     \new Lyrics = sopranos
51     \new Staff = women <<
52       \new Voice = "sopranos" {
53         \voiceOne
54         \global \sopMusic
55       }
56       \new Voice = "altos" {
57         \voiceTwo
58         \global \altoMusic
59       }
60     >>
61     \new Lyrics = "altos"
62     \new Lyrics = "tenors"
63     \new Staff = men <<
64       \clef bass
65       \new Voice = "tenors" {
66         \voiceOne
67         \global \tenorMusic
68       }
69       \new Voice = "basses" {
70         \voiceTwo  \global \bassMusic
71       }
72     >>
73     \new Lyrics = basses
74     \context Lyrics = sopranos \lyricsto sopranos \words
75     \context Lyrics = altos \lyricsto altos \words
76     \context Lyrics = tenors \lyricsto tenors \words
77     \context Lyrics = basses \lyricsto basses \words
78   >>
79   \layout {
80     \context {
81       \Lyrics
82       \override VerticalAxisGroup #'staff-affinity = ##f
83       \override VerticalAxisGroup #'staff-staff-spacing =
84         #'((basic-distance . 0)
85            (minimum-distance . 2)
86            (padding . 2))
87     }
88     \context {
89       \Staff
90       \override VerticalAxisGroup #'staff-staff-spacing =
91         #'((basic-distance . 0)
92            (minimum-distance . 2)
93            (padding . 2))
94     }
95   }
96 }
97