]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
Docs: update snippets locally
[lilypond.git] / Documentation / snippets / vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "text, vocal-music, contexts-and-engravers, template"
7
8 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
9   texidoces = "
10 Esta plantilla es, básicamente, la misma que la sencilla plantilla
11 \"Conjunto vocal\", excepto que aquí todas las líneas de letra se
12 colocan utilizando @code{alignAboveContext} y
13 @code{alignBelowContext}.
14
15 "
16   doctitlees = "Plantilla para conjunto vocal con letras alineadas encima y debajo de los pentagramas"
17   
18 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
19   texidocde = "
20 In diesem Beispiel werden die Texte mit den Befehlen 
21 @code{alignAboveContext} und @code{alignBelowContext}
22 über und unter dem System angeordnet.
23 "
24
25   doctitlede = "Vorlage für Vokalensemble mit dem Gesangstext über und unter dem System"
26
27 %% Translation of GIT committish: 06d99c3c9ad1c3472277b4eafd7761c4aadb84ae
28   texidocja = "
29 このテンプレートは基本的に単純な \"合唱\" テンプレートと同じですが、歌詞が 
30 @code{alignAboveContext} と @code{alignBelowContext} を用いて配置されています。
31 "
32
33   texidoc = "
34 This template is basically the same as the simple \"Vocal ensemble\"
35 template, with the exception that here all the lyrics lines are placed
36 using @code{alignAboveContext} and @code{alignBelowContext}.
37
38 "
39   doctitle = "Vocal ensemble template with lyrics aligned below and above the staves"
40 } % begin verbatim
41
42 global = {
43   \key c \major
44   \time 4/4
45 }
46
47 sopMusic = \relative c'' {
48   c4 c c8[( b)] c4
49 }
50 sopWords = \lyricmode {
51   hi hi hi hi
52 }
53
54 altoMusic = \relative c' {
55   e4 f d e
56 }
57 altoWords = \lyricmode {
58   ha ha ha ha
59 }
60
61 tenorMusic = \relative c' {
62   g4 a f g
63 }
64 tenorWords = \lyricmode {
65   hu hu hu hu
66 }
67
68 bassMusic = \relative c {
69   c4 c g c
70 }
71 bassWords = \lyricmode {
72   ho ho ho ho
73 }
74
75 \score {
76   \new ChoirStaff <<
77     \new Staff = women <<
78       \new Voice = "sopranos" { \voiceOne << \global \sopMusic >> }
79       \new Voice = "altos" { \voiceTwo << \global \altoMusic >> }
80     >>
81     \new Lyrics \with { alignAboveContext = women } \lyricsto sopranos \sopWords
82     \new Lyrics \with { alignBelowContext = women } \lyricsto altos \altoWords
83     % we could remove the line about this with the line below, since we want
84     % the alto lyrics to be below the alto Voice anyway.
85     % \new Lyrics \lyricsto altos \altoWords
86     
87     \new Staff = men <<
88       \clef bass
89       \new Voice = "tenors" { \voiceOne << \global \tenorMusic >> }
90       \new Voice = "basses" { \voiceTwo << \global \bassMusic >> }
91     >>
92     \new Lyrics \with { alignAboveContext = men } \lyricsto tenors \tenorWords
93     \new Lyrics \with { alignBelowContext = men } \lyricsto basses \bassWords
94     % again, we could replace the line above this with the line below.
95     % \new Lyrics \lyricsto basses \bassWords
96   >>
97   \layout {
98     \context {
99       % a little smaller so lyrics
100       % can be closer to the staff
101       \Staff
102       \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3)
103     }
104   }
105 }
106