]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/obtaining-2.12-lyrics-spacing-in-newer-versions.ly
Doc-es: local run of makelsr.
[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: ea0b270e14781707ab52683acddf9302bbe337f3
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
24 %% Translation of GIT committish: 0f93dd92ffa0319328e58148458d22c5448b3d58
25   texidocfr = "
26 La version 2.14 a donné naissance à un nouveau moteur pour l'espacement
27 vertical des paroles.  Celles-ci peuvent donc se retrouver positionnées
28 différemment.  Le moteur adoptera les usages de la version 2.12 une fois
29 que vous aurez réglé certaines propriétés des contextes @code{Lyric} et
30 @code{Staff}.
31
32 "
33   doctitlefr = "Espacement des paroles selon les pratiques de la version 2.12"
34
35
36   lsrtags = "vocal-music"
37
38   texidoc = "
39 The vertical spacing engine changed for version 2.14.  This can cause
40 lyrics to be spaced differently.  It is possible to set properties for
41 @code{Lyric} and @code{Staff} contexts to get the spacing engine to
42 behave as it did in version 2.12.
43
44 "
45   doctitle = "Obtaining 2.12 lyrics spacing in newer versions"
46 } % begin verbatim
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 }