]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/string-quartet-template-with-separate-parts.ly
Doc-es: pre-merge update of texidoc committishes.
[lilypond.git] / input / lsr / string-quartet-template-with-separate-parts.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 = "unfretted-strings, template"
7
8   texidoces = "
9 El fragmento de código \"Plantilla de cuarteto de cuerda\" produce un
10 resultado satisfactorio para el cuarteto, pero ¿y si tenemos que
11 imprimir las particellas? Esta nueva plantilla muestra cómo usar la
12 funcionalidad @code{\\tag} (etiqueta) para dividir fácilmente una
13 pieza en particellas indicviduales.
14
15 Tenemos que dividir esta plantilla en archivos independientes; los
16 nombres de archivo están dentro de los comentarios al principio de
17 cada archivo. @code{piece.ly} contiene todas las definiciones de
18 música. Los otros archivos (@code{score.ly}, @code{vn1.ly},
19 @code{vn2.ly}, @code{vla.ly} y @code{vlc.ly}) producen la particella
20 correspondiente.
21
22 ¡No olvide quitar los comentarios que hemos especificado cuando use
23 los archivos independientes!
24
25 "
26   doctitlees = "Plantilla de cuarteto de cuerda con particellas independientes"
27   
28   texidocde = "
29 Mit diesem Beispiel können Sie ein schönes Streichquartett notieren, 
30 aber wie gehen Sie vor, wenn Sie Stimmen brauchen? Das Beispiel 
31 oben hat gezeigt, wie Sie mit Variablen einzelne Abschnitte getrennt 
32 voneinander notieren können. Im nächsten Beispiel wird nun 
33 gezeigt, wie Sie mit diesen Variablen einzelne Stimmen erstellen.
34
35 Sie müssen das Beispiel in einzelne Dateien aufteilen; die Dateinamen
36 sind in den Kommentaren am Anfang jeder Datei enthalten.  @code{piece.ly}
37 enthält die Noten. Die anderen Dateien -- @code{score.ly},
38 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly} und
39 @code{vlc.ly} -- erstellen daraus die entsprechenden Stimmen bzw. die 
40 Partitur (@code{score.ly}). Mit @code{\tag} wird den Stimmen ein Name 
41 zugewiesen, auf den zurückgegriffen werden kann.
42 "
43
44   texidocja = "
45 \"弦楽四重奏テンプレート\" は適切な弦楽四重奏の楽譜を作り出しますが、個々の@c
46 パート譜を譜刻する必要がある場合はどうでしょうか?今度の新しいテンプレートは 
47 @code{@bs{}tag} 機能を用いて容易に楽曲を個々のパートに分ける方法を示しています。
48
49 このテンプレートは別々のファイルに分ける必要があります。ファイル名は各ファイル@c
50 の開始部分のコメントの中に記述されています。@code{piece.ly} はすべての音楽定義@c
51 を保持しています。他のファイル - @code{score.ly}, @code{vn1.ly}, @code{vn2.ly}, 
52 @code{vla.ly} それに @code{vlc.ly} - は対応するパートを作り出します。
53
54
55 別々のファイルに分ける場合は、指定されたコメントを外すことを忘れないでください!
56 "
57
58   texidoc = "
59 The \"String quartet template\" snippet produces a nice string quartet,
60 but what if you needed to print parts? This new template demonstrates
61 how to use the @code{\\tag} feature to easily split a piece into
62 individual parts.
63
64 You need to split this template into separate files; the filenames are
65 contained in comments at the beginning of each file. @code{piece.ly}
66 contains all the music definitions. The other files – @code{score.ly},
67 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly}, and @code{vlc.ly} –
68 produce the appropriate part.
69
70
71 Do not forget to remove specified comments when using separate files! 
72
73 "
74   doctitle = "String quartet template with separate parts"
75 } % begin verbatim
76
77 %%%%% piece.ly
78 %%%%% (This is the global definitions file)
79
80 global= {
81   \time 4/4
82   \key c \major
83 }
84
85 Violinone = \new Voice { \relative c''{
86   \set Staff.instrumentName = #"Violin 1 "
87
88   c2 d e1
89
90 \bar "|." }}   %*********************************
91 Violintwo = \new Voice { \relative c''{
92   \set Staff.instrumentName = #"Violin 2 "
93
94   g2 f e1
95
96 \bar "|." }}   %*********************************
97 Viola = \new Voice { \relative c' {
98   \set Staff.instrumentName = #"Viola "
99   \clef alto
100
101   e2 d c1
102
103 \bar "|." }}   %*********************************
104 Cello = \new Voice { \relative c' {
105   \set Staff.instrumentName = #"Cello "
106   \clef bass
107
108   c2 b a1
109
110 \bar "|."}}   %**********************************
111
112 music = {
113   <<
114     \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> }
115     \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> }
116     \tag #'score \tag #'vla \new Staff { << \global \Viola>> }
117     \tag #'score \tag #'vlc \new Staff { << \global \Cello>> }
118   >>
119 }
120
121 %%% These are the other files you need to save on your computer
122
123 %%%%% score.ly
124 %%%%% (This is the main file)
125
126
127 %\include "piece.ly"             %%% uncomment this line when using a separate file
128 #(set-global-staff-size 14)
129 \score {
130   \new StaffGroup \keepWithTag #'score \music
131   \layout { }
132   \midi { }
133 }
134
135
136 %{ Uncomment this block when using separate files
137
138 %%%%% vn1.ly
139 %%%%% (This is the Violin 1 part file)
140
141 \include "piece.ly"
142 \score {
143   \keepWithTag #'vn1 \music
144   \layout { }
145 }
146
147
148 %%%%% vn2.ly
149 %%%%% (This is the Violin 2 part file)
150
151 \include "piece.ly"
152 \score {
153   \keepWithTag #'vn2 \music
154   \layout { }
155 }
156
157
158 %%%%% vla.ly
159 %%%%% (This is the Viola part file)
160
161 \include "piece.ly"
162 \score {
163   \keepWithTag #'vla \music
164   \layout { }
165 }
166
167
168 %%%%% vlc.ly
169 %%%%% (This is the Cello part file)
170
171 \include "piece.ly"
172 \score {
173   \keepWithTag #'vlc \music
174   \layout { }
175 }
176
177 %}