1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
|
\version "2.7.39"
\context {
\name "Global"
\accepts "Score"
\defaultchild "Score"
\description "Hard coded entry point for LilyPond. Cannot be tuned."
\grobdescriptions #all-grob-descriptions
}
\context {
\type "Engraver_group"
\name "Staff"
\consists "Output_property_engraver"
\consists "Bar_engraver"
%% Bar_engraver must be first so default bars aren't overwritten
%% with empty ones.
\consists "Font_size_engraver"
\consists "Volta_engraver"
\consists "Separating_line_group_engraver"
\consists "Dot_column_engraver"
%% perhaps move to Voice context?
\consists "Ottava_spanner_engraver"
\consists "Clef_engraver"
\consists "Key_engraver"
\consists "Time_signature_engraver"
\consists "Ledger_line_engraver"
\consists "Staff_symbol_engraver"
\consists "Collision_engraver"
\consists "Rest_collision_engraver"
\consists "Accidental_engraver"
\consists "Piano_pedal_engraver"
\consists "Instrument_name_engraver"
\consists "String_number_engraver"
\consists "Axis_group_engraver"
\consists "Figured_bass_engraver"
\consists "Figured_bass_position_engraver"
\override VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4)
extraVerticalExtent = ##f
verticalExtent = ##f
localKeySignature = #'()
createSpacing = ##t
%% explicitly set instrument, so we don't get
%% weird effects when doing instrument names for
%% piano staves
instrumentName = #'()
shortInstrumentName = #'()
\defaultchild "Voice"
\accepts "Voice"
\accepts "CueVoice"
\description "Handles clefs, bar lines, keys, accidentals. It can contain
@code{Voice} contexts."
}
\context {
\Staff
\type "Engraver_group"
\name "DrumStaff"
\alias "Staff"
\remove "Accidental_engraver"
\remove "Ottava_spanner_engraver"
\remove "Key_engraver"
\remove "Piano_pedal_engraver"
\remove "String_number_engraver"
\description "Handles typesetting for percussion."
\denies "Voice"
\accepts "DrumVoice"
\defaultchild "DrumVoice"
clefGlyph = #"clefs.percussion"
clefPosition = #0
\override Script #'staff-padding = #0.75
}
\context {
\type "Engraver_group"
\name "InnerChoirStaff"
\consists "System_start_delimiter_engraver"
systemStartDelimiter = #'SystemStartBracket
vocalName = #'()
shortVocalName = #'()
\accepts "Staff"
\accepts "DrumStaff"
\accepts "RhythmicStaff"
\accepts "GrandStaff"
\accepts "PianoStaff"
\accepts "Lyrics"
\accepts "ChordNames"
\defaultchild "Staff"
}
\context {
\InnerChoirStaff
\name ChoirStaff
\defaultchild "Staff"
\accepts "InnerChoirStaff"
\accepts "InnerStaffGroup"
\description "Identical to @code{StaffGroup} except that the
contained staves are not connected vertically."
}
\context{
\type "Engraver_group"
\override VerticalAxisGroup #'minimum-Y-extent = ##f
extraVerticalExtent = ##f
verticalExtent = ##f
localKeySignature = #'()
createSpacing = ##t
squashedPosition = #0
\name RhythmicStaff
\alias "Staff"
\override BarLine #'bar-size = #4
\override VoltaBracket #'staff-padding = #3
\override StaffSymbol #'line-count = #1
\override Stem #'neutral-direction = #UP
\override Beam #'neutral-direction = #UP
\consists "Output_property_engraver"
\consists "Font_size_engraver"
\consists "Volta_engraver"
\consists "Separating_line_group_engraver"
\consists "Dot_column_engraver"
\consists "Bar_engraver"
\consists "Staff_symbol_engraver"
\consists "Pitch_squash_engraver"
\consists "Time_signature_engraver"
\consists "Instrument_name_engraver"
\consists "Axis_group_engraver"
\consists "Ledger_line_engraver"
\accepts "Voice"
\accepts "CueVoice"
\defaultchild "Voice"
\description "
A context like @code{Staff} but for printing rhythms. Pitches are
ignored; the notes are printed on one line.
"
}
\context {
\type "Engraver_group"
\name "Voice"
\description "
Corresponds to a voice on a staff. This context handles the
conversion of dynamic signs, stems, beams, super- and subscripts,
slurs, ties, and rests.
You have to instantiate this explicitly if you want to have
multiple voices on the same staff."
localKeySignature = #'()
\consists "Font_size_engraver"
\consists "Pitched_trill_engraver"
\consists "Output_property_engraver"
\consists "Arpeggio_engraver"
\consists "Multi_measure_rest_engraver"
\consists "Text_spanner_engraver"
\consists "Trill_spanner_engraver"
\consists "Grob_pq_engraver"
\consists "Forbid_line_break_engraver"
\consists "Laissez_vibrer_engraver"
\consists "Repeat_tie_engraver"
\consists "Note_head_line_engraver"
\consists "Glissando_engraver"
\consists "Ligature_bracket_engraver"
\consists "Breathing_sign_engraver"
\consists "Note_heads_engraver"
\consists "Rest_engraver"
%% switch on to make stem directions interpolate for the
%% center line.
% \consists "Melody_engraver"
\consists "Stem_engraver"
\consists "Beam_engraver"
\consists "Grace_beam_engraver"
\consists "Auto_beam_engraver"
\consists "New_fingering_engraver"
\consists "Chord_tremolo_engraver"
\consists "Percent_repeat_engraver"
\consists "Slash_repeat_engraver"
\consists "Part_combine_engraver"
\consists "Text_engraver"
\consists "Dynamic_engraver"
\consists "Fingering_engraver"
\consists "Fall_engraver"
\consists "Script_engraver"
\consists "Script_column_engraver"
\consists "Rhythmic_column_engraver"
\consists "Phrasing_slur_engraver"
\consists "Cluster_spanner_engraver"
\consists "Slur_engraver"
\consists "Tie_engraver"
\consists "Tuplet_engraver"
\consists "Grace_engraver"
\consists "Instrument_switch_engraver"
\consists "Skip_event_swallow_translator"
}
\context{
\Voice
\name CueVoice
\alias Voice
fontSize = #-4
\override Stem #'length-fraction = #(magstep -4)
\override Beam #'length-fraction = #(magstep -4)
}
\context {
\Voice
\name DrumVoice
\alias Voice
\description "A voice on a percussion staff."
\remove "Arpeggio_engraver"
\consists "Multi_measure_rest_engraver"
\consists "Text_spanner_engraver"
\consists "Grob_pq_engraver"
\remove "Note_head_line_engraver"
\remove "Glissando_engraver"
\remove "Ligature_bracket_engraver"
\remove "Note_heads_engraver"
\consists "Drum_notes_engraver"
\remove "New_fingering_engraver"
\remove "Fingering_engraver"
\remove "Cluster_spanner_engraver"
\consists "Tuplet_engraver"
\consists "Skip_event_swallow_translator"
}
\context{
\type "Engraver_group"
\name GrandStaff
localKeySignature = #'()
\description " A group of staffs, with a brace on the left
side, grouping the staves together. The bar lines of the
contained staves are connected vertically. "
\consists "Span_bar_engraver"
\consists "Span_arpeggio_engraver"
\consists "System_start_delimiter_engraver"
systemStartDelimiter = #'SystemStartBrace
\accepts "Staff"
}
\context{
\GrandStaff
\name "PianoStaff"
\alias "GrandStaff"
\description
"Just like @code{GrandStaff} but with a forced distance between
the staves, so cross staff beaming and slurring can be used."
\override VerticalAlignment #'forced-distance = #12
\override VerticalAlignment #'self-alignment-Y = #0
\consists "Vertical_align_engraver"
\consists "Instrument_name_engraver"
instrumentName = #'()
shortInstrumentName = #'()
}
\context {
\type "Engraver_group"
\name InnerStaffGroup
\consists "Span_bar_engraver"
\consists "Span_arpeggio_engraver"
\consists "Output_property_engraver"
systemStartDelimiter = #'SystemStartBracket
\consists "System_start_delimiter_engraver"
\defaultchild "Staff"
\accepts "Staff"
\accepts "RhythmicStaff"
\accepts "DrumStaff"
\accepts "GrandStaff"
\accepts "PianoStaff"
\accepts "TabStaff"
\accepts "Lyrics"
\accepts "ChordNames"
}
\context {
\InnerStaffGroup
\name StaffGroup
\description
"Groups staffs while adding a bracket on the left side, grouping
the staves together. The bar lines of the contained staves are
connected vertically. StaffGroup only consists of a collection of
staffs, with a bracket in front and spanning bar lines. "
\accepts "InnerChoirStaff"
\accepts "ChoirStaff"
\accepts "InnerStaffGroup"
\accepts "FiguredBass"
}
\context{
\type "Engraver_group"
\override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 2.4)
extraVerticalExtent = ##f
verticalExtent = ##f
\description " Corresponds to a voice with lyrics. Handles the
printing of a single line of lyrics. "
\name Lyrics
\consists "Lyric_engraver"
\consists "Extender_engraver"
\consists "Hyphen_engraver"
\consists "Stanza_number_engraver"
\consists "Instrument_name_engraver"
\consists "Skip_event_swallow_translator"
\consists "Font_size_engraver"
\consists "Hara_kiri_engraver"
\override VerticalAxisGroup #'remove-first = ##t
\override VerticalAxisGroup #'remove-empty = ##t
\override SeparationItem #'padding = #0.2
\override InstrumentName #'self-alignment-Y = ##f
%% sync with define-grobs.scm ;
\override InstrumentName #'font-size = #1.0
%% make sure that barlines aren't collapsed, when
%% Bar_engraver is there.
\override BarLine #'bar-size = #0.1
}
\context {
\type "Engraver_group"
\name NoteNames
\consists "Axis_group_engraver"
\override VerticalAxisGroup #'minimum-Y-extent = ##f
extraVerticalExtent = ##f
verticalExtent = ##f
\consists "Rest_swallow_translator"
\consists "Skip_event_swallow_translator"
\consists "Tie_engraver"
\consists "Note_name_engraver"
\consists "Separating_line_group_engraver"
}
\context {
\type "Engraver_group"
\name ChordNames
\description "Typesets chord names."
\consists "Volta_engraver"
\consists "Rest_swallow_translator"
\consists "Output_property_engraver"
\consists "Separating_line_group_engraver"
\consists "Chord_name_engraver"
\consists "Skip_event_swallow_translator"
\consists "Hara_kiri_engraver"
voltaOnThisStaff = ##f
\override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 2.5)
extraVerticalExtent = ##f
\override SeparatingGroupSpanner #'padding = #0.8
\override VerticalAxisGroup #'remove-first = ##t
\override VerticalAxisGroup #'remove-empty = ##t
verticalExtent = ##f
}
RemoveEmptyStaffContext= \context {
\Staff
\remove "Axis_group_engraver"
\consists "Hara_kiri_engraver"
\override Beam #'auto-knee-gap = #'()
\override VerticalAxisGroup #'remove-empty = ##t
}
AncientRemoveEmptyStaffContext = \context {
%% why not add by default?
\RemoveEmptyStaffContext
\accepts "VaticanaVoice"
\accepts "GregorianTranscriptionVoice"
\accepts "MensuralVoice"
}
\context {
\type "Score_engraver"
\name "Score"
\description "This is the top level notation context. No
other context can contain a @code{Score} context. This context
handles the administration of time signatures. It also makes sure
that items such as clefs, time signatures, and key-signatures are
aligned across staves.
You cannot explicitly instantiate a Score context (since it is
not contained in any other context). It is instantiated
automatically when an output definition (a @code{\score} or
@code{\layout} block) is processed."
\consists "Paper_column_engraver"
\consists "Vertically_spaced_contexts_engraver"
\consists "Repeat_acknowledge_engraver"
\consists "Staff_collecting_engraver"
%% move the alias along with the engraver.
\consists "Timing_translator"
\consists "Default_bar_line_engraver"
\consists "Output_property_engraver"
\consists "System_start_delimiter_engraver"
\consists "Mark_engraver"
\consists "Metronome_mark_engraver"
\consists "Break_align_engraver"
\consists "Spacing_engraver"
\consists "Grace_spacing_engraver"
\consists "Vertical_align_engraver"
\consists "Stanza_number_align_engraver"
\consists "Bar_number_engraver"
\consists "Tweak_engraver"
\consists "Parenthesis_engraver"
\defaultchild "Staff"
\accepts "Staff"
\accepts "RhythmicStaff"
\accepts "TabStaff"
\accepts "VaticanaStaff"
\accepts "GregorianTranscriptionStaff"
\accepts "MensuralStaff"
\accepts "StaffGroup"
\accepts "DrumStaff"
\accepts "Lyrics"
\accepts "ChordNames"
\accepts "GrandStaff"
\accepts "ChoirStaff"
\accepts "PianoStaff"
\accepts "Devnull"
\accepts "NoteNames"
\accepts "FiguredBass"
soloText = #"Solo"
soloIIText = #"Solo II"
aDueText = #"a2"
printPartCombineTexts = ##t
systemStartDelimiter =#'SystemStartBar
drumStyleTable = #drums-style
melismaBusyProperties = #default-melisma-properties
tieWaitForNote = ##f
clefGlyph = #"clefs.G"
clefPosition = #-2
middleCPosition = #-6
firstClef = ##t
defaultBarType = #"|"
barNumberVisibility = #first-bar-number-invisible
automaticBars = ##t
explicitClefVisibility = #all-visible
explicitKeySignatureVisibility = #all-visible
autoBeamSettings = #default-auto-beam-settings
autoBeaming = ##t
autoBeamCheck = #default-auto-beam-check
scriptDefinitions = #default-script-alist
pedalSustainStrings = #'("Ped." "*Ped." "*")
pedalSustainStyle = #'text
pedalUnaCordaStrings = #'("una corda" "" "tre corde")
pedalUnaCordaStyle = #'text
%% These are in ordinary italic font, including the *,
%% but they are unlikely to be used,
%% as the default pedal-style for SostenutoPedal is 'mixed':
%% i.e. Sost. Ped_____________________
pedalSostenutoStrings = #'("Sost. Ped." "*Sost. Ped." "*")
pedalSostenutoStyle = #'mixed
harmonicAccidentals = ##t
fingeringOrientations = #'(up down)
stringNumberOrientations = #'(up down)
markFormatter = #format-mark-letters
rehearsalMark = #1
subdivideBeams = ##f
allowBeamBreak = ##f
extraNatural = ##t
autoAccidentals = #'(Staff (same-octave . 0))
autoCautionaries = #'()
printKeyCancellation = ##t
keyAlterationOrder = #`(
(6 . ,FLAT) (2 . ,FLAT) (5 . ,FLAT ) (1 . ,FLAT) (4 . ,FLAT) (0 . ,FLAT) (3 . ,FLAT)
(3 . ,SHARP) (0 . ,SHARP) (4 . ,SHARP) (1 . ,SHARP) (5 . ,SHARP) (2 . ,SHARP) (6 . ,SHARP)
(6 . ,DOUBLE-FLAT) (2 . ,DOUBLE-FLAT) (5 . ,DOUBLE-FLAT ) (1 . ,DOUBLE-FLAT) (4 . ,DOUBLE-FLAT) (0 . ,DOUBLE-FLAT) (3 . ,DOUBLE-FLAT)
(3 . ,DOUBLE-SHARP) (0 . ,DOUBLE-SHARP) (4 . ,DOUBLE-SHARP) (2 . ,DOUBLE-SHARP) (5 . ,DOUBLE-SHARP) (2 . ,DOUBLE-SHARP) (6 . ,DOUBLE-SHARP)
)
barCheckSynchronize = ##f
%% chord names:
chordNameFunction = #ignatzek-chord-names
majorSevenSymbol = #whiteTriangleMarkup
chordNameSeparator = #(make-simple-markup "/")
chordNameExceptions = #ignatzekExceptions
chordNoteNamer = #'()
chordRootNamer = #note-name->markup
chordPrefixSpacer = #0
chordNameExceptionsFull = #fullJazzExceptions
chordNameExceptionsPartial = #partialJazzExceptions
bassStaffProperties = #'((assign clefGlyph "clefs.F")
(assign clefPosition 2)
(assign middleCPosition 6))
%% tablature:
stringOneTopmost = ##t
highStringOne = ##t
%% One may change the strings tuning as following :
%% The lenght of the list must be equal to the number of string
stringTunings = #guitar-tuning
tablatureFormat = #fret-number-tablature-format
%%
figuredBassFormatter = #format-bass-figure
metronomeMarkFormatter = #format-metronome-markup
graceSettings = #`(
(Voice Stem direction ,UP)
(Voice Stem font-size -3)
(Voice NoteHead font-size -3)
(Voice Dots font-size -3)
(Voice Stem length-fraction 0.8)
(Voice Stem no-stem-extend #t)
(Voice Beam thickness 0.384)
(Voice Beam length-fraction 0.8)
(Voice Accidental font-size -4)
(Voice Slur direction ,DOWN)
)
keepAliveInterfaces = #'(rhythmic-grob-interface lyric-interface percent-repeat-interface)
quotedEventTypes = #'(note-event rest-event time-scaled-music tie-event beam-event)
instrumentTransposition = #(ly:make-pitch 0 0 0)
verticallySpacedContexts = #'(Staff)
hairpinToBarline = ##t
timing = ##t
}
\context {
\type "Engraver_group"
\name "FiguredBass"
\consists "Figured_bass_engraver"
\consists "Note_swallow_translator"
\consists "Skip_event_swallow_translator"
\consists "Separating_line_group_engraver"
\consists "Hara_kiri_engraver"
\override VerticalAxisGroup #'remove-empty = ##t
\override VerticalAxisGroup #'remove-first = ##t
\override VerticalAxisGroup #'minimum-Y-extent = #'(-0.5 . 2.5)
}
\context {
\name "Devnull"
\type "Engraver_group"
%% don't want to route anything out of here:
\alias "Staff"
\alias "Voice"
\consists "Swallow_engraver"
\description "Silently discards all musical information given to this context. "
}
\context {
\Voice
\name "TabVoice"
\alias "Voice"
\consists "Tab_note_heads_engraver"
\remove "Note_heads_engraver"
\remove "Fingering_engraver"
\remove "New_fingering_engraver"
\description "Context for drawing notes in a Tab staff. "
%% TabStaff increase the staff-space, which in turn
%% increases beam thickness and spacing; beams are
%% too big. We have to adjust the beam settings:
\override Beam #'thickness = #0.32
\override Beam #'length-fraction = #0.62
%% No accidental in tablature !
\remove Accidental_engraver
}
\context {
\Staff
\alias "Staff"
\name "TabStaff"
\denies "Voice"
\consists "Tab_staff_symbol_engraver"
\description "Context for generating tablature. [DOCME]"
\accepts "TabVoice"
\defaultchild "TabVoice"
%% 6 strings
\override StaffSymbol #'staff-space = #1.5
%% Don't draw stems over the tablature figures !
\override Stem #'avoid-note-head = ##t
%% No accidental in tablature !
\remove "Accidental_engraver"
\remove "Key_engraver"
\remove "String_number_engraver"
%% Special "TAB" clef
clefGlyph = #"clefs.tab"
clefPosition = #0
}
%% TODO: Gregorian Chant contexts should be moved to gregorian-init.ly,
%% but this does not work (is this a bug or intended behaviour?):
%%
%% If I try to do so, I get "error: unknown escaped string:
%% `\VaticanaStaff'" in params-init.ly. If I also move
%% "\context { \Vaticana*Context }" from params-init.ly to the end
%% of gregorian-init.ly, then I get "error: parse error, unexpected
%% TRANSLATOR: \context { \VaticanaStaff }" in
%% gregorian-init.ly. --jr
\context {
\Voice
\name "VaticanaVoice"
\alias "Voice"
\description "Same as @code{Voice} context, except that it is accommodated for tyepsetting Gregorian Chant in the notational style of Editio Vaticana."
\remove "Slur_engraver"
\remove "Stem_engraver"
\remove "Ligature_bracket_engraver"
\consists "Vaticana_ligature_engraver"
%% Set default head for notes outside of \[ \].
\override NoteHead #'style = #'vaticana.punctum
%% Put some space before and after divisiones.
%% FIXME: This does not seem to show any effect.
\override Script #'padding = #0.5
%% There are no beams in Gregorian Chant notation.
autoBeaming = ##f
%% Prepare TextSpanner for \episem{Initium|Finis} use.
%%
%% N.B.: dash-fraction MUST be unset; otherwise, TextSpanner will
%% always produce dashed lines, regardless of the style property.
%%
%% FIXME: The line @code{\override TextSpanner #'padding = #-0.1} is
%% required to force the articulation signs being placed vertically
%% tightly to the correpsonding note heads.
%%
\override TextSpanner #'dash-fraction = #'()
\override TextSpanner #'style = #'line
\override TextSpanner #'edge-height = #'(0 . 0)
\override TextSpanner #'padding = #-0.1
\override TextSpanner #'enclose-bounds = #1
\override TextSpanner #'edge-text = #'("" . "")
}
%% FIXME: need something like
%% \remove "Bar_number_engraver" (which lives on score level)
%% for vaticana and gregorian transcription staves
\context {
\Staff
\name "VaticanaStaff"
\alias "Staff"
\denies "Voice"
\accepts "VaticanaVoice"
\defaultchild "VaticanaVoice"
\description "Same as @code{Staff} context, except that it is accommodated for tyepsetting Gregorian Chant in the notational style of Editio Vaticana."
\remove "Time_signature_engraver"
\consists "Custos_engraver"
%% We can not remove Bar_engraver; otherwise clefs and custodes will
%% not show up any more among other line breaking issues.
%% Instead, we make the grob transparent.
\override BarLine #'transparent = ##t
\override StaffSymbol #'line-count = #4
\override StaffSymbol #'thickness = #0.6
%% FIXME: unit on StaffSymbol's width should be \linewidth.
%% \override StaffSymbol #'width = #60.0
%% Choose vaticana do clef on 3rd line as default.
clefGlyph = #"clefs.vaticana.do"
middleCPosition = #1
clefPosition = #1
clefOctavation = #0
%% Select vaticana style font.
\override KeySignature #'style = #'vaticana
\override Accidental #'style = #'vaticana
\override Custos #'style = #'vaticana
\override Custos #'neutral-position = #3
\override Custos #'neutral-direction = #DOWN
}
\context {
\Voice
\name "GregorianTranscriptionVoice"
\alias "Voice"
%% Removing ligature bracket engraver without replacing it by some
%% other ligature engraver would cause a "Junking event: `LigatureEvent'"
%% warning for every "\[" and "\]". Therefore, we make the grob
%% transparent instead.
\override LigatureBracket #'transparent = ##t
%% Put some space before and after divisiones.
%% FIXME: This does not seem to show any effect.
\override Script #'padding = #0.5
%% There are no beams in Gregorian Chant notation.
autoBeaming = ##f
%% Prepare TextSpanner for \episem{Initium|Finis} use.
%%
%% N.B.: dash-fraction MUST be unset; otherwise, TextSpanner will
%% always produce dashed lines, regardless of the style property.
%%
%% FIXME: The line @code{\override TextSpanner #'padding = #-0.1} is
%% required to force the articulation signs being placed vertically
%% tightly to the correpsonding note heads.
%%
\override TextSpanner #'dash-fraction = #'()
\override TextSpanner #'style = #'line
\override TextSpanner #'edge-height = #'(0 . 0)
\override TextSpanner #'padding = #-0.1
\override TextSpanner #'enclose-bounds = #1
\override TextSpanner #'edge-text = #'("" . "")
}
\context {
\Staff
\name "GregorianTranscriptionStaff"
\alias "Staff"
\denies "Voice"
\accepts "GregorianTranscriptionVoice"
\defaultchild "GregorianTranscriptionVoice"
%% We can not remove Bar_engraver; otherwise clefs and custodes will
%% not show up any more among other line breaking issues.
%% Instead, we make the grob transparent.
\override BarLine #'transparent = ##t
}
\context {
\Voice
\name "MensuralVoice"
\alias "Voice"
\description "Same as @code{Voice} context, except that it is accommodated for tyepsetting a piece in mensural style."
\remove "Slur_engraver"
\remove "Ligature_bracket_engraver"
\consists "Mensural_ligature_engraver"
%% Set default head for notes outside of \[ \].
\override NoteHead #'style = #'petrucci
%% There are no beams in mensural notation.
autoBeaming = ##f
}
\context {
\Staff
\name "MensuralStaff"
\alias "Staff"
\denies "Voice"
\defaultchild "MensuralVoice"
\accepts "MensuralVoice"
\description "Same as @code{Staff} context, except that it is accommodated for tyepsetting a piece in mensural style."
\consists "Custos_engraver"
%% We can not remove Bar_engraver; otherwise clefs and custodes will
%% not show up any more among other line breaking issues.
%% Instead, we make the grob transparent.
\override BarLine #'transparent = ##t
\override StaffSymbol #'thickness = #0.6
%% FIXME: unit on StaffSymbol's width should be \linewidth.
%% \override StaffSymbol #'width = #60.0
%% Choose petrucci g clef on 2nd line as default.
clefGlyph = #"clefs.petrucci.g"
middleCPosition = #-6
clefPosition = #-2
clefOctavation = #0
%% Select mensural style font.
\override TimeSignature #'style = #'mensural
\override KeySignature #'style = #'mensural
\override Accidental #'style = #'mensural
\override Custos #'style = #'mensural
\override Custos #'neutral-position = #3
\override Custos #'neutral-direction = #DOWN
}
RemoveEmptyRhythmicStaffContext= \context {
\RhythmicStaff
\remove "Axis_group_engraver"
\override VerticalAxisGroup #'remove-empty = ##t
\consists "Hara_kiri_engraver"
}
|