]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/string-quartet-template-with-separate-parts.ly
Doc: repair a snippet due to wrong texidoc label.
[lilypond.git] / Documentation / snippets / string-quartet-template-with-separate-parts.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 %% Translation of GIT committish: 514674cb00c18629242dfcde0c1a4976758adc56
11   texidocit = "
12 Il frammento di codice del @qq{Modello per quartetto d'archi} crea un bel
13 quartetto, ma cosa fare se si ha bisogno di creare le singole parti? Questo
14 nuovo modello mostra come usare la funzionalità @code{\\tag} per dividere
15 facilmente un pezzo in parti staccate.
16
17 Occorre dividere questo modello in file separati; i nomi dei file sono
18 indicati nei commenti all'inizio di ogni file. @code{piece.ly}
19 contiene tutte le definizioni musicali. Gli altri file – @code{score.ly},
20 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly} e @code{vlc.ly} –
21 creano ciascuna parte.
22
23
24 Non dimenticare di togliere i commenti quando usi i file separati!
25
26 "
27   doctitleit = "Modello per quartetto d'archi con parti separate"
28
29
30   lsrtags = "unfretted-strings, template"
31
32
33
34
35
36 %% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
37   texidoces = "
38 El fragmento de código @qq{Plantilla de cuarteto de cuerda} produce un
39 resultado satisfactorio para el cuarteto, pero ¿y si tenemos que
40 imprimir las particellas? Esta nueva plantilla muestra cómo usar la
41 funcionalidad @code{\\tag} (etiqueta) para dividir fácilmente una
42 pieza en particellas indicviduales.
43
44 Tenemos que dividir esta plantilla en archivos independientes; los
45 nombres de archivo están dentro de los comentarios al principio de
46 cada archivo. @file{piece.ly} contiene todas las definiciones de
47 música. Los otros archivos (@file{score.ly}, @file{vn1.ly},
48 @file{vn2.ly}, @file{vla.ly} y @file{vlc.ly}) producen la particella
49 correspondiente.
50
51 ¡No olvide quitar los comentarios que hemos especificado cuando use
52 los archivos independientes!
53
54 "
55   doctitlees = "Plantilla de cuarteto de cuerda con particellas independientes"
56
57
58 %% Translation of GIT committish: fa1aa6efe68346f465cfdb9565ffe35083797b86
59   texidocja = "
60 \"弦楽四重奏テンプレート\" は適切な弦楽四重奏の楽譜を作り出しますが、個々の@c
61 パート譜を譜刻する必要がある場合はどうでしょうか?今度の新しいテンプレートは
62 @code{@bs{}tag} 機能を用いて容易に楽曲を個々のパートに分ける方法を示しています。
63
64 このテンプレートは別々のファイルに分ける必要があります。ファイル名は各ファイル@c
65 の開始部分のコメントの中に記述されています。@code{piece.ly} はすべての音楽定義@c
66 を保持しています。他のファイル - @code{score.ly}, @code{vn1.ly}, @code{vn2.ly},
67 @code{vla.ly} それに @code{vlc.ly} - は対応するパートを作り出します。
68
69
70 別々のファイルに分ける場合は、指定されたコメントを外すことを忘れないでください!
71 "
72
73 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
74   texidocde = "
75 Mit diesem Beispiel können Sie ein schönes Streichquartett notieren,
76 aber wie gehen Sie vor, wenn Sie Stimmen brauchen? Das Beispiel
77 oben hat gezeigt, wie Sie mit Variablen einzelne Abschnitte getrennt
78 voneinander notieren können. Im nächsten Beispiel wird nun
79 gezeigt, wie Sie mit diesen Variablen einzelne Stimmen erstellen.
80
81 Sie müssen das Beispiel in einzelne Dateien aufteilen; die Dateinamen
82 sind in den Kommentaren am Anfang jeder Datei enthalten.  @file{piece.ly}
83 enthält die Noten. Die anderen Dateien -- @file{score.ly},
84 @file{vn1.ly}, @file{vn2.ly}, @file{vla.ly} und
85 @file{vlc.ly} -- erstellen daraus die entsprechenden Stimmen bzw. die
86 Partitur (@file{score.ly}). Mit @code{\\tag} wird den Stimmen ein Name
87 zugewiesen, auf den zurückgegriffen werden kann.
88 "
89
90   doctitlede = "Vorlage für Streichquartett mit einzelnen Stimmen"
91
92
93 %% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
94   texidocfr = "
95 Grâce à ce canevas, vous pouvez obtenir une partition d'excellente
96 facture pour quatuor à cordes mais aussi, si le besoin s'en faisait
97 sentir, une partie séparée par instrument.  Par ailleurs, cet exemple
98 illustre l'utilisation de la fonction @code{\\tag} dans le but
99 d'extraire des parties séparées.
100
101 Il vous faudra découper ce canevas en plusieurs fichiers séparés ; leur
102 nom respectif est indiqué en commentaire : @file{piece.ly} comporte tout
103 ce qui a trait à la musique, les autres fichiers -- @file{score.ly},
104 @file{vn1.ly}, @file{vn2.ly}, @file{vla.ly}, et @file{vlc.ly} -- vous
105 permettront d'obtenir les parties selon le pupitre.
106
107
108 N'oubliez pas de supprimer les commentaires superflus des fichiers
109 individualisés !
110
111 "
112   doctitlefr = "Quatuor à cordes avec parties séparées"
113
114   texidoc = "
115 The @qq{String quartet template} snippet produces a nice string
116 quartet, but what if you needed to print parts? This new template
117 demonstrates how to use the @code{\\tag} feature to easily split a
118 piece into individual parts.
119
120 You need to split this template into separate files; the filenames are
121 contained in comments at the beginning of each file. @code{piece.ly}
122 contains all the music definitions. The other files – @code{score.ly},
123 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly}, and @code{vlc.ly} –
124 produce the appropriate part.
125
126
127 Do not forget to remove specified comments when using separate files!
128
129 "
130   doctitle = "String quartet template with separate parts"
131 } % begin verbatim
132
133 %%%%% piece.ly
134 %%%%% (This is the global definitions file)
135
136 global= {
137   \time 4/4
138   \key c \major
139 }
140
141 Violinone = \new Voice { \relative c''{
142   \set Staff.instrumentName = #"Violin 1 "
143
144   c2 d e1
145
146 \bar "|." }}   %*********************************
147 Violintwo = \new Voice { \relative c''{
148   \set Staff.instrumentName = #"Violin 2 "
149
150   g2 f e1
151
152 \bar "|." }}   %*********************************
153 Viola = \new Voice { \relative c' {
154   \set Staff.instrumentName = #"Viola "
155   \clef alto
156
157   e2 d c1
158
159 \bar "|." }}   %*********************************
160 Cello = \new Voice { \relative c' {
161   \set Staff.instrumentName = #"Cello "
162   \clef bass
163
164   c2 b a1
165
166 \bar "|."}}   %**********************************
167
168 music = {
169   <<
170     \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> }
171     \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> }
172     \tag #'score \tag #'vla \new Staff { << \global \Viola>> }
173     \tag #'score \tag #'vlc \new Staff { << \global \Cello>> }
174   >>
175 }
176
177 %%% These are the other files you need to save on your computer
178
179 %%%%% score.ly
180 %%%%% (This is the main file)
181
182
183 %\include "piece.ly"             %%% uncomment this line when using a separate file
184 #(set-global-staff-size 14)
185 \score {
186   \new StaffGroup \keepWithTag #'score \music
187   \layout { }
188   \midi { }
189 }
190
191
192 %{ Uncomment this block when using separate files
193
194 %%%%% vn1.ly
195 %%%%% (This is the Violin 1 part file)
196
197 \include "piece.ly"
198 \score {
199   \keepWithTag #'vn1 \music
200   \layout { }
201 }
202
203
204 %%%%% vn2.ly
205 %%%%% (This is the Violin 2 part file)
206
207 \include "piece.ly"
208 \score {
209   \keepWithTag #'vn2 \music
210   \layout { }
211 }
212
213
214 %%%%% vla.ly
215 %%%%% (This is the Viola part file)
216
217 \include "piece.ly"
218 \score {
219   \keepWithTag #'vla \music
220   \layout { }
221 }
222
223
224 %%%%% vlc.ly
225 %%%%% (This is the Cello part file)
226
227 \include "piece.ly"
228 \score {
229   \keepWithTag #'vlc \music
230   \layout { }
231 }
232
233 %}
234