]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/hymn-template.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / Documentation / snippets / hymn-template.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.0"
8
9 \header {
10   lsrtags = "vocal-music, template"
11
12 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
13   texidoces = "
14   Este fragmento de código muestra una forma de preparar un himno cuando
15 cada línea comienza con un compás parcial.  También muestra cómo
16 añadir los versos como texto independiente debajo de la música.
17
18 "
19
20   doctitlees = "Plantilla para himnos"
21
22 %% Translation of GIT committish: c3b519f0dd5ff0f8ccfc9a39ed1fe8df8b43741c
23   texidocit = "
24 Il codice seguente presenta un modo di impostare un inno in cui ogni verso
25 inizia e finisce con una misura parziale.  Mostra anche come aggiungere delle
26 strofe come testo separato sotto la musica.
27
28 "
29   doctitleit = "Modello per inno"
30 %%    Translation of GIT committish: ab9e3136d78bfaf15cc6d77ed1975d252c3fe506
31
32   texidocde = "
33 Dieses Beispiel zeigt eine Möglichkeit, eine Hymnusmelodie zu setzen, in
34 der jede Zeiel mit einem Auftakt beginnt und einem unvollständigen
35 Takt abschließt.  Es zeigt auch, wie man die Strophen als allein stehenden
36 Text unter die Noten hinzufügt.
37
38 "
39   doctitlede = "Hymnus-Vorlage"
40
41
42 %% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
43   texidocfr = "
44 Le code ci-dessous illustre la manière d'agencer un cantique liturgique
45 dans lequel chaque ligne débute et se termine par une mesure incomplète.
46 Vous noterez par ailleurs l'affichage des paroles indépendamment de la
47 musique.
48
49 "
50   doctitlefr = "Modèle pour cantique"
51
52   texidoc = "
53 This code shows one way of setting out a hymn tune when each line
54 starts and ends with a partial measure.  It also shows how to add the
55 verses as stand-alone text under the music.
56
57 "
58   doctitle = "Hymn template"
59 } % begin verbatim
60
61 Timeline = {
62   \time 4/4
63   \tempo 4=96
64   \partial 2
65   s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||" \break
66   s2 | s1 | s2 \breathe s2 | s1 | s2 \bar "||"
67 }
68
69 SopranoMusic = \relative g' {
70   g4 g | g g g g | g g g g | g g g g | g2
71   g4 g | g g g g | g g g g | g g g g | g2
72 }
73
74 AltoMusic = \relative c' {
75   d4 d | d d d d | d d d d | d d d d | d2
76   d4 d | d d d d | d d d d | d d d d | d2
77 }
78
79 TenorMusic = \relative a {
80   b4 b | b b b b | b b b b | b b b b | b2
81   b4 b | b b b b | b b b b | b b b b | b2
82 }
83
84 BassMusic =  \relative g {
85   g4 g | g g g g | g g g g | g g g g | g2
86   g4 g | g g g g | g g g g | g g g g | g2
87 }
88
89 global = {
90  \key g \major
91 }
92
93 \score {  % Start score
94   <<
95     \new PianoStaff <<  % Start pianostaff
96       \new Staff <<  % Start Staff = RH
97         \global
98         \clef "treble"
99         \new Voice = "Soprano" <<  % Start Voice = "Soprano"
100           \Timeline
101           \voiceOne
102           \SopranoMusic
103         >>  % End Voice = "Soprano"
104         \new Voice = "Alto" <<  % Start Voice = "Alto"
105           \Timeline
106           \voiceTwo
107           \AltoMusic
108         >>  % End Voice = "Alto"
109       >>  % End Staff = RH
110       \new Staff <<  % Start Staff = LH
111         \global
112         \clef "bass"
113         \new Voice = "Tenor" <<  % Start Voice = "Tenor"
114           \Timeline
115           \voiceOne
116           \TenorMusic
117         >>  % End Voice = "Tenor"
118         \new Voice = "Bass" <<  % Start Voice = "Bass"
119           \Timeline
120           \voiceTwo
121           \BassMusic
122         >>  % End Voice = "Bass"
123       >>  % End Staff = LH
124     >>  % End pianostaff
125   >>
126 }  % End score
127
128 \markup {
129   \fill-line {
130     ""
131     {
132       \column {
133         \left-align {
134           "This is line one of the first verse"
135           "This is line two of the same"
136           "And here's line three of the first verse"
137           "And the last line of the same"
138         }
139       }
140     }
141     ""
142   }
143 }
144
145 \paper {  % Start paper block
146   indent = 0     % don't indent first system
147   line-width = 130   % shorten line length to suit music
148 }  % End paper block
149