]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/obtaining-2.12-lyrics-spacing-in-newer-versions.ly
Merge branch 'master' into translation
[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 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
11   texidoces = "
12 El motor de espaciado vertical cambió en la versión 2.14.  Esto puede
13 hacer que se altere el espaciado de la letra de las canciones.  Es
14 posible fijar propiedades para los contextos @code{Lyric} y
15 @code{Staff} de forma que el motor de espaciado se comporte como lo
16 hacía en la versión 2.12.
17
18 "
19
20   doctitlees = "Conseguir el espaciado de la letra de la versión 2.12
21   en versiones más recientes"
22
23 %% Translation of GIT committish: 0f93dd92ffa0319328e58148458d22c5448b3d58
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   doctitlefr = "Espacement des paroles selon les pratiques de la version 2.12"
33
34
35   lsrtags = "vocal-music"
36
37   texidoc = "
38 The vertical spacing engine changed for version 2.14.  This can cause
39 lyrics to be spaced differently.  It is possible to set properties for
40 @code{Lyric} and @code{Staff} contexts to get the spacing engine to
41 behave as it did in version 2.12.
42
43 "
44   doctitle = "Obtaining 2.12 lyrics spacing in newer versions"
45 } % begin verbatim
46
47 global = {
48   \key d \major
49   \time 3/4
50 }
51
52 sopMusic = \relative c' {
53   % VERSE ONE
54   fis4 fis fis | \break
55   fis4. e8 e4
56 }
57
58 altoMusic = \relative c' {
59   % VERSE ONE
60   d4 d d |
61   d4. b8 b4 |
62 }
63
64 tenorMusic = \relative c' {
65   a4 a a |
66   b4. g8 g4 |
67 }
68
69 bassMusic = \relative c {
70   d4 d d |
71   g,4. g8 g4 |
72 }
73
74 words = \lyricmode {
75   Great is Thy faith- ful- ness,
76 }
77
78 \score {
79   \new ChoirStaff <<
80     \new Lyrics = sopranos
81     \new Staff = women <<
82       \new Voice = "sopranos" {
83         \voiceOne
84         \global \sopMusic
85       }
86       \new Voice = "altos" {
87         \voiceTwo
88         \global \altoMusic
89       }
90     >>
91     \new Lyrics = "altos"
92     \new Lyrics = "tenors"
93     \new Staff = men <<
94       \clef bass
95       \new Voice = "tenors" {
96         \voiceOne
97         \global \tenorMusic
98       }
99       \new Voice = "basses" {
100         \voiceTwo  \global \bassMusic
101       }
102     >>
103     \new Lyrics = basses
104     \context Lyrics = sopranos \lyricsto sopranos \words
105     \context Lyrics = altos \lyricsto altos \words
106     \context Lyrics = tenors \lyricsto tenors \words
107     \context Lyrics = basses \lyricsto basses \words
108   >>
109   \layout {
110     \context {
111       \Lyrics
112       \override VerticalAxisGroup #'staff-affinity = ##f
113       \override VerticalAxisGroup #'staff-staff-spacing =
114         #'((basic-distance . 0)
115            (minimum-distance . 2)
116            (padding . 2))
117     }
118     \context {
119       \Staff
120       \override VerticalAxisGroup #'staff-staff-spacing =
121         #'((basic-distance . 0)
122            (minimum-distance . 2)
123            (padding . 2))
124     }
125   }
126 }