4 % Some spacing settings, need to test them before I can enable them
7 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1. . 3)
8 \override VerticalAxisGroup #'remove-empty = ##f
11 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 0.7)
14 \override BarNumber #'self-alignment-X = #0
15 \override BarNumber #'outside-staff-priority = #10
16 hairpinToBarline = ##t
17 % autoAccidentals = #'(Staff (same-octave . 0) (any-octave . 1))
18 autoCautionaries = #'()
20 \context { \StaffGroup
21 \consists "Instrument_name_engraver"
25 % Some additional definitions for various dynamic spanners and marks
28 \set crescendoText = \markup { \italic "cresc.molto" }
29 \set crescendoSpanner = #'dashed-line
31 crescMolto = #(make-span-event 'CrescendoEvent START)
32 endCrescMolto = #(make-span-event 'CrescendoEvent STOP)
35 \set crescendoText = \markup { \italic "cresc.poco a poco" }
36 \set crescendoSpanner = #'dashed-line
38 crescPoco = #(make-span-event 'CrescendoEvent START)
39 endCrescPoco = #(make-span-event 'CrescendoEvent STOP)
43 \set decrescendoText = \markup { \italic "dim.molto" }
44 \set decrescendoSpanner = #'dashed-line
46 dimMolto = #(make-span-event 'DecrescendoEvent START)
47 endDimMolto = #(make-span-event 'DecrescendoEvent STOP)
49 pocoAllarg = \markup {\italic "poco allarg."}
50 pocoRit = \markup {\italic "poco rit."}
51 dolce = \markup {\italic "dolce."}
52 cantabile = ^\markup {\italic "cantabile"}
53 sostenuto = ^\markup {\italic "sostenuto"}
55 vOne = {\voiceOne \revert MultiMeasureRest #'staff-position }
56 vTwo = {\voiceTwo \revert MultiMeasureRest #'staff-position }
57 vThree = {\voiceThree \revert MultiMeasureRest #'staff-position }
58 oneV = {\oneVoice \revert MultiMeasureRest #'staff-position }
60 semprefff = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0)
61 '(0 . 0) #:right-align #:normal-text #:italic "sempre" #:dynamic "fff")))
62 sempreff = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0)
63 '(0 . 0) #:right-align #:normal-text #:italic "sempre" #:dynamic "ff")))
64 subitopp = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0)
65 '(0 . 0) #:right-align #:normal-text #:italic "subito" #:dynamic "pp")))
69 % Create "Dynamics" context, which prints centered dynamics inside PianoStaff
73 \type "Engraver_group"
75 \alias Voice % So that \cresc works, for example.
76 \consists "Output_property_engraver"
78 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
79 pedalSustainStrings = #'("Ped." "*Ped." "*")
80 pedalUnaCordaStrings = #'("una corda" "" "tre corde")
82 \consists "Piano_pedal_engraver"
83 \consists "Script_engraver"
84 \consists "Dynamic_engraver"
85 \consists "Text_engraver"
87 \override TextScript #'font-size = #2
88 \override TextScript #'font-shape = #'italic
89 \override DynamicText #'extra-offset = #'(0 . 2.5)
90 \override Hairpin #'extra-offset = #'(0 . 2.5)
92 \consists "Skip_event_swallow_translator"
94 \consists "Axis_group_engraver"
99 % \override VerticalAlignment #'forced-distance = #7