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