]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/lyrics-old-spacing-settings.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / lyrics-old-spacing-settings.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.13.47
8 \version "2.14.0"
9
10 \header {
11 %% Translation of GIT committish: 27b1197f3bae8512c14d946752cd3e40e7c76016
12   doctitlede = "Textverteilung wie in Version 2.12 für neuere Versionen"
13
14   texidocde = "
15 Die vertikale Maschine für die Platzverteilung wurde für die Version 2.14
16 verändert.  Das kann dazu führen, dass Gesangstext unterschiedlich
17 verteilt wird.  Es ist möglich, die Eigenschaften der @code{Lyric}-
18 und @code{Staff}-Kontexte so einzustellen, dass die Platzverteilung
19 wie in der Version 2.12 arbeitet.
20 "
21
22
23 %% Translation of GIT committish: c1d5bb448321d688185e0c6b798575d4c325ae80
24   texidocfr = "
25 La version 2.14 a donné naissance à un nouveau moteur pour l'espacement
26 vertical des paroles.  Celles-ci peuvent donc se retrouver positionnées
27 différemment.  Le moteur adoptera les usages de la version 2.12 une fois
28 que vous aurez réglé certaines propriétés des contextes @code{Lyric} et
29 @code{Staff}.
30
31 "
32
33   doctitlefr = "Espacement des paroles selon les pratiques de la version 2.12"
34
35
36   lsrtags = "vocal-music"
37
38   doctitle = "Obtaining 2.12 lyrics spacing in newer versions"
39
40   texidoc = "
41 The vertical spacing engine changed for version 2.14.  This can
42 cause lyrics to be spaced differently.  It is possible to set
43 properties for @code{Lyric} and @code{Staff} contexts to get the
44 spacing engine to behave as it did in version 2.12.
45 "
46 } % begin verbatim
47
48
49 global = {
50   \key d \major
51   \time 3/4
52 }
53
54 sopMusic = \relative c' {
55   % VERSE ONE
56   fis4 fis fis | \break
57   fis4. e8 e4
58 }
59
60 altoMusic = \relative c' {
61   % VERSE ONE
62   d4 d d |
63   d4. b8 b4 |
64 }
65
66 tenorMusic = \relative c' {
67   a4 a a |
68   b4. g8 g4 |
69 }
70
71 bassMusic = \relative c {
72   d4 d d |
73   g,4. g8 g4 |
74 }
75
76 words = \lyricmode {
77   Great is Thy faith- ful- ness,
78 }
79
80 \score {
81   \new ChoirStaff <<
82     \new Lyrics = sopranos
83     \new Staff = women <<
84       \new Voice = "sopranos" {
85         \voiceOne
86         \global \sopMusic
87       }
88       \new Voice = "altos" {
89         \voiceTwo
90         \global \altoMusic
91       }
92     >>
93     \new Lyrics = "altos"
94     \new Lyrics = "tenors"
95     \new Staff = men <<
96       \clef bass
97       \new Voice = "tenors" {
98         \voiceOne
99         \global \tenorMusic
100       }
101       \new Voice = "basses" {
102         \voiceTwo  \global \bassMusic
103       }
104     >>
105     \new Lyrics = basses
106     \context Lyrics = sopranos \lyricsto sopranos \words
107     \context Lyrics = altos \lyricsto altos \words
108     \context Lyrics = tenors \lyricsto tenors \words
109     \context Lyrics = basses \lyricsto basses \words
110   >>
111   \layout {
112     \context {
113       \Lyrics
114       \override VerticalAxisGroup #'staff-affinity = ##f
115       \override VerticalAxisGroup #'staff-staff-spacing =
116         #'((basic-distance . 0)
117            (minimum-distance . 2)
118            (padding . 2))
119     }
120     \context {
121       \Staff
122       \override VerticalAxisGroup #'staff-staff-spacing =
123         #'((basic-distance . 0)
124            (minimum-distance . 2)
125            (padding . 2))
126     }
127   }
128 }
129