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