1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.14.0
11 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
13 Del problema central de la notación, esto es, crear un determinado
14 símbolo, se encargan los «plugins» o complementos añadidos. Cada
15 uno de los complementos se conoce como un grabador. En este
16 ejemplo, los grabadores se van activando uno por uno, en el orden
19 - cabeza de las notas,
21 - el símbolo del pentagrama,
27 - barras, ligaduras de expresión, acentos,
29 - alteraciones, líneas divisorias, indicación del compás, y armadura.
31 Los grabadores se encuentran agrupados. Por ejemplo, las cabezas de
32 nota, ligaduras de expresión, barras de corchea, etc. forman un
33 contexto de voz, @code{Voice}. Los grabadores de la armadura,
34 alteraciones, líneas de compás, etc. forman un contexto de pentagrama,
38 doctitlees = "Los grabadores uno por uno"
40 lsrtags = "contexts-and-engravers"
43 The notation problem, creating a certain symbol, is handled by plugins.
44 Each plugin is called an Engraver. In this example, engravers are
45 switched on one by one, in the following order:
59 - beams, slurs, accents,
62 - accidentals, bar lines, time signature and key signature.
66 Engravers are grouped. For example, note heads, slurs, beams etc. form
67 a @code{Voice} context. Engravers for key signature, accidentals, bar
68 line, etc. form a @code{Staff} context.
71 doctitle = "Engravers one-by-one"
77 topVoice = \relative c' {
85 botVoice = \relative c' {
89 es16[-. es-. es-. fis-.]
114 % setup for Request->Element conversion. Guru-only
118 \type "Engraver_group"
121 \description "Handles clefs, bar lines, keys, accidentals. It can contain
122 @code{Voice} contexts."
124 \consists "Output_property_engraver"
126 \consists "Font_size_engraver"
128 \consists "Volta_engraver"
129 \consists "Separating_line_group_engraver"
130 \consists "Dot_column_engraver"
132 \consists "Ottava_spanner_engraver"
133 \consists "Rest_collision_engraver"
134 \consists "Piano_pedal_engraver"
135 \consists "Piano_pedal_align_engraver"
136 \consists "Instrument_name_engraver"
137 \consists "Grob_pq_engraver"
138 \consists "Forbid_line_break_engraver"
139 \consists "Axis_group_engraver"
141 \consists "Pitch_squash_engraver"
143 localKeySignature = #'()
145 % explicitly set instrumentName, so we don't get
146 % weird effects when doing instrument names for
149 instrumentName = #'()
150 shortInstrumentName = #'()
157 \type "Engraver_group"
161 Corresponds to a voice on a staff. This context handles the
162 conversion of dynamic signs, stems, beams, super- and subscripts,
163 slurs, ties, and rests.
165 You have to instantiate this explicitly if you want to have
166 multiple voices on the same staff."
168 localKeySignature = #'()
169 \consists "Font_size_engraver"
171 % must come before all
172 \consists "Output_property_engraver"
173 \consists "Arpeggio_engraver"
174 \consists "Multi_measure_rest_engraver"
175 \consists "Text_spanner_engraver"
176 \consists "Grob_pq_engraver"
177 \consists "Note_head_line_engraver"
178 \consists "Glissando_engraver"
179 \consists "Ligature_bracket_engraver"
180 \consists "Breathing_sign_engraver"
181 % \consists "Rest_engraver"
182 \consists "Grace_beam_engraver"
183 \consists "New_fingering_engraver"
184 \consists "Chord_tremolo_engraver"
185 \consists "Percent_repeat_engraver"
186 \consists "Slash_repeat_engraver"
189 Must come before text_engraver, but after note_column engraver.
191 \consists "Text_engraver"
192 \consists "Dynamic_engraver"
193 \consists "Fingering_engraver"
195 \consists "Script_column_engraver"
196 \consists "Rhythmic_column_engraver"
197 \consists "Cluster_spanner_engraver"
198 \consists "Tie_engraver"
199 \consists "Tie_engraver"
200 \consists "Tuplet_engraver"
201 \consists "Note_heads_engraver"
202 \consists "Rest_engraver"
209 \context { \MyStaff }
210 \context { \MyVoice }
217 \consists "Staff_symbol_engraver"
223 \context { \MyStaff }
224 \context { \MyVoice }
230 \consists "Clef_engraver"
231 \remove "Pitch_squash_engraver"
237 \context { \MyStaff }
238 \context { \MyVoice }
244 \consists "Stem_engraver"
250 \context { \MyStaff }
251 \context { \MyVoice }
257 \consists "Beam_engraver"
263 \context { \MyStaff }
264 \context { \MyVoice }
270 \consists "Phrasing_slur_engraver"
271 \consists "Slur_engraver"
272 \consists "Script_engraver"
279 \context { \MyStaff }
280 \context { \MyVoice }
286 \consists "Bar_engraver"
287 \consists "Time_signature_engraver"
293 \context { \MyStaff }
294 \context { \MyVoice }
300 \consists "Accidental_engraver"
301 \consists "Key_engraver"
306 \context { \MyStaff }
307 \context { \MyVoice }