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