]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/obtaining-2.12-lyrics-spacing-in-newer-versions.ly
Merge branch 'translation' into staging
[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: 06f227dd80f3a30cbf33c879b7c125079dfaf5c3
11
12   texidocde = "
13 Die Maschine für die vertikale Platzverteilung hat sich in Version 2.14 verändert.
14 Dadurch wurde Gesangstext auf andere Art verteilt.  Es ist möglich, Eigenschaften
15 von @code{Lyric}- und @code{Staff}-Kontexten einzustellen, um die Platzverteilung
16 so aussehen zu lassen wie für Version 2.12.
17
18 "
19   doctitlede = "Platzverteilung von Gesangstext wie in 2.12 für neuere Versionen"
20
21
22
23 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
24   texidoces = "
25 El motor de espaciado vertical cambió en la versión 2.14.  Esto puede
26 hacer que se altere el espaciado de la letra de las canciones.  Es
27 posible fijar propiedades para los contextos @code{Lyric} y
28 @code{Staff} de forma que el motor de espaciado se comporte como lo
29 hacía en la versión 2.12.
30
31 "
32
33   doctitlees = "Conseguir el espaciado de la letra de la versión 2.12
34   en versiones más recientes"
35
36 %% Translation of GIT committish: 0f93dd92ffa0319328e58148458d22c5448b3d58
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   texidoc = "
51 The vertical spacing engine changed for version 2.14.  This can cause
52 lyrics to be spaced differently.  It is possible to set properties for
53 @code{Lyric} and @code{Staff} contexts to get the spacing engine to
54 behave as it did in version 2.12.
55
56 "
57   doctitle = "Obtaining 2.12 lyrics spacing in newer versions"
58 } % begin verbatim
59
60 global = {
61   \key d \major
62   \time 3/4
63 }
64
65 sopMusic = \relative c' {
66   % VERSE ONE
67   fis4 fis fis | \break
68   fis4. e8 e4
69 }
70
71 altoMusic = \relative c' {
72   % VERSE ONE
73   d4 d d |
74   d4. b8 b4 |
75 }
76
77 tenorMusic = \relative c' {
78   a4 a a |
79   b4. g8 g4 |
80 }
81
82 bassMusic = \relative c {
83   d4 d d |
84   g,4. g8 g4 |
85 }
86
87 words = \lyricmode {
88   Great is Thy faith- ful- ness,
89 }
90
91 \score {
92   \new ChoirStaff <<
93     \new Lyrics = sopranos
94     \new Staff = women <<
95       \new Voice = "sopranos" {
96         \voiceOne
97         \global \sopMusic
98       }
99       \new Voice = "altos" {
100         \voiceTwo
101         \global \altoMusic
102       }
103     >>
104     \new Lyrics = "altos"
105     \new Lyrics = "tenors"
106     \new Staff = men <<
107       \clef bass
108       \new Voice = "tenors" {
109         \voiceOne
110         \global \tenorMusic
111       }
112       \new Voice = "basses" {
113         \voiceTwo  \global \bassMusic
114       }
115     >>
116     \new Lyrics = basses
117     \context Lyrics = sopranos \lyricsto sopranos \words
118     \context Lyrics = altos \lyricsto altos \words
119     \context Lyrics = tenors \lyricsto tenors \words
120     \context Lyrics = basses \lyricsto basses \words
121   >>
122   \layout {
123     \context {
124       \Lyrics
125       \override VerticalAxisGroup #'staff-affinity = ##f
126       \override VerticalAxisGroup #'staff-staff-spacing =
127         #'((basic-distance . 0)
128            (minimum-distance . 2)
129            (padding . 2))
130     }
131     \context {
132       \Staff
133       \override VerticalAxisGroup #'staff-staff-spacing =
134         #'((basic-distance . 0)
135            (minimum-distance . 2)
136            (padding . 2))
137     }
138   }
139 }