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