]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/lyrics-old-spacing-settings.ly
Merge branch 'master' into lilypond/translation
[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: 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: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
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   doctitle = "Obtaining 2.12 lyrics spacing in newer versions"
38
39   texidoc = "
40 The vertical spacing engine changed for version 2.14.  This can
41 cause lyrics to be spaced differently.  It is possible to set
42 properties for @code{Lyric} and @code{Staff} contexts to get the
43 spacing engine to behave as it did in version 2.12.
44 "
45 } % begin verbatim
46
47
48 global = {
49   \key d \major
50   \time 3/4
51 }
52
53 sopMusic = \relative c' {
54   % VERSE ONE
55   fis4 fis fis | \break
56   fis4. e8 e4
57 }
58
59 altoMusic = \relative c' {
60   % VERSE ONE
61   d4 d d |
62   d4. b8 b4 |
63 }
64
65 tenorMusic = \relative c' {
66   a4 a a |
67   b4. g8 g4 |
68 }
69
70 bassMusic = \relative c {
71   d4 d d |
72   g,4. g8 g4 |
73 }
74
75 words = \lyricmode {
76   Great is Thy faith- ful- ness,
77 }
78
79 \score {
80   \new ChoirStaff <<
81     \new Lyrics = sopranos
82     \new Staff = women <<
83       \new Voice = "sopranos" {
84         \voiceOne
85         \global \sopMusic
86       }
87       \new Voice = "altos" {
88         \voiceTwo
89         \global \altoMusic
90       }
91     >>
92     \new Lyrics = "altos"
93     \new Lyrics = "tenors"
94     \new Staff = men <<
95       \clef bass
96       \new Voice = "tenors" {
97         \voiceOne
98         \global \tenorMusic
99       }
100       \new Voice = "basses" {
101         \voiceTwo  \global \bassMusic
102       }
103     >>
104     \new Lyrics = basses
105     \context Lyrics = sopranos \lyricsto sopranos \words
106     \context Lyrics = altos \lyricsto altos \words
107     \context Lyrics = tenors \lyricsto tenors \words
108     \context Lyrics = basses \lyricsto basses \words
109   >>
110   \layout {
111     \context {
112       \Lyrics
113       \override VerticalAxisGroup #'staff-affinity = ##f
114       \override VerticalAxisGroup #'staff-staff-spacing =
115         #'((basic-distance . 0)
116            (minimum-distance . 2)
117            (padding . 2))
118     }
119     \context {
120       \Staff
121       \override VerticalAxisGroup #'staff-staff-spacing =
122         #'((basic-distance . 0)
123            (minimum-distance . 2)
124            (padding . 2))
125     }
126   }
127 }
128