1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
7 lsrtags = "contexts-and-engravers"
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
11 Del problema central de la notación, esto es, crear un determinado
12 símbolo, se encargan los «plugins» o complementos añadidos. Cada
13 uno de los complementos se conoce como un grabador. En este
14 ejemplo, los grabadores se van activando uno por uno, en el orden
17 - cabeza de las notas,
19 - el símbolo del pentagrama,
25 - barras, ligaduras de expresión, acentos,
27 - alteraciones, líneas divisorias, indicación del compás, y armadura.
29 Los grabadores se encuentran agrupados. Por ejemplo, las cabezas
30 de nota, ligaduras de expresión, barras de corchea, etc. forman un
31 contexto de voz. Los grabadores de la armadura, alteraciones,
32 compás, etc. forman un contexto de pentagrama.
34 Sólo podemos ver el primer ejemplo en este documento; para ver los
35 demás debemos descartar el fragmento de código y procesarlo en
39 doctitlees = "Los grabadores, uno por uno"
42 The notation problem, creating a certain symbol, is handled by plugins.
43 Each plugin is called an Engraver. In this example, engravers are
44 switched on one by one, in the following order:
58 - beams, slurs, accents,
61 - accidentals, bar lines, time signature, and key signature.
65 Engravers are grouped. For example, note heads, slurs, beams etc. form
66 a Voice context. Engravers for key, accidental, bar, etc. form a Staff
70 You may only see the first example in this document; please download
71 this snippet and run it from your own computer.
74 doctitle = "Engravers one-by-one"
78 topVoice = \relative c' {
86 botVoice = \relative c' {
90 es16[-. es-. es-. fis-.]
115 % setup for Request->Element conversion. Guru-only
119 \type "Engraver_group"
122 \description "Handles clefs, bar lines, keys, accidentals. It can contain
123 @code{Voice} contexts."
126 \consists "Output_property_engraver"
128 \consists "Font_size_engraver"
130 \consists "Volta_engraver"
131 \consists "Separating_line_group_engraver"
132 \consists "Dot_column_engraver"
134 \consists "Ottava_spanner_engraver"
135 \consists "Rest_collision_engraver"
136 \consists "Piano_pedal_engraver"
137 \consists "Piano_pedal_align_engraver"
138 \consists "Instrument_name_engraver"
139 \consists "Grob_pq_engraver"
140 \consists "Forbid_line_break_engraver"
141 \consists "Axis_group_engraver"
143 \consists "Pitch_squash_engraver"
145 \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 6)
146 extraVerticalExtent = ##f
148 localKeySignature = #'()
150 % explicitly set instrument, so we don't get
151 % weird effects when doing instrument names for
154 instrumentName = #'()
155 shortInstrumentName = #'()
162 \type "Engraver_group"
166 Corresponds to a voice on a staff. This context handles the
167 conversion of dynamic signs, stems, beams, super- and subscripts,
168 slurs, ties, and rests.
170 You have to instantiate this explicitly if you want to have
171 multiple voices on the same staff."
173 localKeySignature = #'()
174 \consists "Font_size_engraver"
176 % must come before all
177 \consists "Output_property_engraver"
178 \consists "Arpeggio_engraver"
179 \consists "Multi_measure_rest_engraver"
180 \consists "Text_spanner_engraver"
181 \consists "Grob_pq_engraver"
182 \consists "Note_head_line_engraver"
183 \consists "Glissando_engraver"
184 \consists "Ligature_bracket_engraver"
185 \consists "Breathing_sign_engraver"
186 % \consists "Rest_engraver"
187 \consists "Grace_beam_engraver"
188 \consists "New_fingering_engraver"
189 \consists "Chord_tremolo_engraver"
190 \consists "Percent_repeat_engraver"
191 \consists "Slash_repeat_engraver"
194 Must come before text_engraver, but after note_column engraver.
197 \consists "Text_engraver"
198 \consists "Dynamic_engraver"
199 \consists "Fingering_engraver"
201 \consists "Script_column_engraver"
202 \consists "Rhythmic_column_engraver"
203 \consists "Cluster_spanner_engraver"
204 \consists "Tie_engraver"
205 \consists "Tie_engraver"
206 \consists "Tuplet_engraver"
207 \consists "Note_heads_engraver"
208 \consists "Rest_engraver"
210 \consists "Skip_event_swallow_translator"
217 \context { \MyStaff }
218 \context { \MyVoice }
225 \consists "Staff_symbol_engraver"
231 \context { \MyStaff }
232 \context { \MyVoice }
238 \consists "Clef_engraver"
239 \remove "Pitch_squash_engraver"
245 \context { \MyStaff }
246 \context { \MyVoice }
252 \consists "Stem_engraver"
258 \context { \MyStaff }
259 \context { \MyVoice }
265 \consists "Beam_engraver"
271 \context { \MyStaff }
272 \context { \MyVoice }
278 \consists "Phrasing_slur_engraver"
279 \consists "Slur_engraver"
280 \consists "Script_engraver"
287 \context { \MyStaff }
288 \context { \MyVoice }
294 \consists "Bar_engraver"
295 \consists "Time_signature_engraver"
301 \context { \MyStaff }
302 \context { \MyVoice }
308 \consists "Accidental_engraver"
309 \consists "Key_engraver"
314 \context { \MyStaff }
315 \context { \MyVoice }