Typo
[orchestrallily.git] / settings_global.ly
blob5d91212d1b04f66750e8e20c7dcc8bcf10ccad7d
1 \version "2.11.35"
3 % Some spacing settings, need to test them before I can enable them
4 %{
5 \layout {
6 \context { \Staff
7 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1. . 3)
8 \override VerticalAxisGroup #'remove-empty = ##f
10 \context { \Lyrics
11 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1.2 . 0.7)
13 \context { \Score
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"
26 % Some additional definitions for various dynamic spanners and marks
28 setCrescMolto = {
29 \set crescendoText = \markup { \italic "cresc.molto" }
30 \set crescendoSpanner = #'dashed-line
32 crescMolto = #(make-span-event 'CrescendoEvent START)
33 endCrescMolto = #(make-span-event 'CrescendoEvent STOP)
35 setCrescPoco = {
36 \set crescendoText = \markup { \italic "cresc.poco a poco" }
37 \set crescendoSpanner = #'dashed-line
39 crescPoco = #(make-span-event 'CrescendoEvent START)
40 endCrescPoco = #(make-span-event 'CrescendoEvent STOP)
43 setDimMolto = {
44 \set decrescendoText = \markup { \italic "dim.molto" }
45 \set decrescendoSpanner = #'dashed-line
47 dimMolto = #(make-span-event 'DecrescendoEvent START)
48 endDimMolto = #(make-span-event 'DecrescendoEvent STOP)
50 pocoAllarg = \markup {\italic "poco allarg."}
51 pocoRit = \markup {\italic "poco rit."}
52 dolce = \markup {\italic "dolce."}
53 cantabile = ^\markup {\italic "cantabile"}
54 sostenuto = ^\markup {\italic "sostenuto"}
56 vOne = {\voiceOne \revert MultiMeasureRest #'staff-position }
57 vTwo = {\voiceTwo \revert MultiMeasureRest #'staff-position }
58 vThree = {\voiceThree \revert MultiMeasureRest #'staff-position }
59 oneV = {\oneVoice \revert MultiMeasureRest #'staff-position }
61 semprefff = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0)
62 '(0 . 0) #:right-align #:normal-text #:italic "sempre" #:dynamic "fff")))
63 sempreff = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0)
64 '(0 . 0) #:right-align #:normal-text #:italic "sempre" #:dynamic "ff")))
65 subitopp = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0)
66 '(0 . 0) #:right-align #:normal-text #:italic "subito" #:dynamic "pp")))
70 % Create "Dynamics" context, which prints centered dynamics inside PianoStaff
72 \layout {
73 \context {
74 \type "Engraver_group"
75 \name Dynamics
76 \alias Voice % So that \cresc works, for example.
77 \consists "Output_property_engraver"
79 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
80 pedalSustainStrings = #'("Ped." "*Ped." "*")
81 pedalUnaCordaStrings = #'("una corda" "" "tre corde")
83 \consists "Piano_pedal_engraver"
84 \consists "Script_engraver"
85 \consists "Dynamic_engraver"
86 \consists "Text_engraver"
88 \override TextScript #'font-size = #2
89 \override TextScript #'font-shape = #'italic
90 \override DynamicText #'extra-offset = #'(0 . 2.5)
91 \override Hairpin #'extra-offset = #'(0 . 2.5)
93 \consists "Skip_event_swallow_translator"
95 \consists "Axis_group_engraver"
97 \context {
98 \PianoStaff
99 \accepts Dynamics
100 % \override VerticalAlignment #'forced-distance = #7