Added Saxophone2 part in Entracte
[opera_libre.git] / definitions / settings.ly
blob76928b5aca5ec68aa21bb8f0a48ed4424c1747f9
1 %------------------------------------------------------------------%
2 % Opéra Libre -- settings.ly %
3 % %
4 % (c) Valentin Villenave, 2008 %
5 % %
6 %------------------------------------------------------------------%
8 %% Depends on: functions.ly
10 %%%%%%%%%%%%%%%%%%%%%%%%% Output options %%%%%%%%%%%%%%%%%%%%%%%%%%%
12 #(ly:set-option 'point-and-click #f)
13 #(ly:set-option 'delete-intermediate-files #t)
15 %%%%%%%%%%%%%%%%%%%%%%%%%% Common Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%
17 %% Paper size -----------------------------------------------------%
18 % #(set-default-paper-size "a4" 'landscape)
20 %% Page breaking --------------------------------------------------%
21 #(define page-breaking ly:minimal-breaking)
23 %% Staff size -----------------------------------------------------%
24 #(set-global-staff-size 14)
26 \layout {
27 %% Spacing Variables ----------------------------------------------%
28 indent = 2.0\cm
29 \context {
30 \Staff
31 \remove Axis_group_engraver
32 \consists Hara_kiri_engraver
33 \override Beam #'auto-knee-gap = #'()
34 \override VerticalAxisGroup #'remove-empty = ##t
37 %% Notation Rules -------------------------------------------------%
38 \context {
39 \Score
40 \override TrillPitchAccidental #'avoid-slur = #'inside
41 \override TimeSignature #'style = #'()
42 \override SystemStartBracket #'collapse-height = #1
43 %\override SystemStartBrace #'collapse-height = #1
44 \override PaperColumn #'keep-inside-line = ##t
45 \override NonMusicalPaperColumn #'keep-inside-line = ##t
46 autoBeamSettings = #modern-auto-beam-settings
47 autoAccidentals = #modern-accidentals-style
48 autoCautionaries = #modern-cautionaries-style
49 extraNatural = ##f
50 ignoreMelismata = ##t
51 tieWaitForNote = ##f %% uglier, but safer
54 %% Text inclusion -------------------------------------------------%
55 \context {
56 \type Engraver_group
57 \name TextLine
58 \consists Output_property_engraver
59 \consists Axis_group_engraver
60 \consists Mark_engraver
61 \override RehearsalMark #'side-axis = #Y
62 \override RehearsalMark #'direction = #DOWN
63 \override RehearsalMark #'outside-staff-priority = #1100
65 \context {
66 \Lyrics
67 \remove Instrument_name_engraver
68 \override LyricSpace #'minimum-distance = #0.9
70 \context {
71 \Score
72 \remove Mark_engraver
73 \remove Metronome_mark_engraver
74 \override RehearsalMark #'side-axis = #Y
75 \override RehearsalMark #'direction = #UP
76 \override RehearsalMark #'outside-staff-priority = #900
77 \override RehearsalMark #'self-alignment-X = #left
78 \override TextScript #'outside-staff-priority = #900
79 \override TextSpanner #'outside-staff-priority = #1000
80 \override RehearsalMark #'font-size = #4
81 %\override TimeSignature #'X-extent = #'(0 . 2)
84 %% Look and feel --------------------------------------------------%
85 \context {
86 \Score
87 \override Accidental #'minimum-X-extent = #'(-0.2 . 0 )
88 \override BarLine #'hair-thickness = #1.2
89 \override OttavaBracket #'dash-fraction = #0.3
90 \override OttavaBracket #'dash-period = #0.9
91 \override TextSpanner #'dash-fraction = #0.3
92 \override TextSpanner #'dash-period = #0.9
93 \override LyricText #'self-alignment-X = #-0.5
94 \override DynamicText #'self-alignment-X = #-.4
95 markFormatter = #format-mark-box-letters
96 subdivideBeams = ##t
97 beatLength = #(ly:make-moment 1 8)
102 %%%%%%%%%%%%%%%%%%%%%%%% Vocal Score Layout %%%%%%%%%%%%%%%%%%%%%%%%
104 includeVocalLayout = \layout {
105 %% Vocal score layout --------------------------------------------%
106 \context {
107 \TextLine
108 \name TopLine
109 \consists Metronome_mark_engraver
110 \override MetronomeMark #'side-axis = #Y
111 \override MetronomeMark #'direction = #DOWN
112 \override MetronomeMark #'outside-staff-priority = #1900
114 \context {
115 \Staff
116 \consists Staff_collecting_engraver
118 \context {
119 \Staff
120 \type Engraver_group
121 \name StaffPiano
122 \alias Staff
123 \override VerticalAxisGroup #'remove-empty = ##f
124 \override VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4)
125 \override StaffSymbol #'staff-space = #(magstep -1)
126 fontSize = #-1
128 \context {
129 \PianoStaff
130 \accepts StaffPiano
131 connectArpeggios = ##t
133 \context {
134 \Score
135 \accepts TopLine
136 \remove Staff_collecting_engraver
140 %%%%%%%%%%%%%%%%%%%%%%%%%%% Parts Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%
142 includePartsLayout = \layout {
143 %% Individual parts layout ----------------------------------------%
144 \context {
145 \Voice
146 \type Engraver_group
147 \name GhostVoice
148 \remove Multi_measure_rest_engraver
149 \remove Rest_engraver
151 \context {
152 \Score
153 \accepts GhostVoice
154 skipBars = ##t
156 %%-----------------------------------------------------------------%
160 %%%%%%%%%%%%%%%%%%%%%%%% Full Score Layout %%%%%%%%%%%%%%%%%%%%%%%%%
162 includeScoreLayout = \layout {
163 \context {
164 \name PseudoVoice
165 \alias Voice
166 \type Engraver_group
167 \consists Note_heads_engraver
168 \consists Pitch_squash_engraver
169 squashedPosition = #0
170 \override NoteHead #'stencil = #empty-stencil
172 \context {
173 \Staff
174 \accepts PseudoVoice
175 \remove Time_signature_engraver
177 \context {
178 \RhythmicStaff
179 \remove Time_signature_engraver
180 \remove Axis_group_engraver
181 \override VerticalAxisGroup #'remove-empty = ##t
182 \consists Hara_kiri_engraver
184 \context {
185 \DrumStaff
186 \remove Time_signature_engraver
187 \remove Axis_group_engraver
188 \override VerticalAxisGroup #'remove-empty = ##t
189 \consists Hara_kiri_engraver
190 \override StaffSymbol #'line-count = #1
192 \context {
193 \type Engraver_group
194 \name TopLine
195 \consists Output_property_engraver
196 \consists Axis_group_engraver
197 \consists Text_engraver
198 \consists Text_spanner_engraver
199 \consists Metronome_mark_engraver
200 \consists Time_signature_engraver
201 \override VerticalAxisGroup #'minimum-Y-extent = #'(-0.4 . 1.2 )
202 \override MetronomeMark #'side-axis = #Y
203 \override MetronomeMark #'direction = #UP
205 \context {
206 \Score
207 \accepts TopLine
208 %\accepts TextLine
209 \remove Metronome_mark_engraver
214 %%%%%%%%%%%%%%%%%%%%%%%%% Libretto Layout %%%%%%%%%%%%%%%%%%%%%%%%%%
216 includeLivretLayout = \layout {
217 %% Special contexts ----------------------------------------------%
218 \context {
219 \ChoirStaff
220 \remove System_start_delimiter_engraver
221 \override SystemStartBar #'stencil = ##f
223 \context {
224 \Staff
225 \remove Accidental_engraver
226 \remove Rest_collision_engraver
227 \remove Ledger_line_engraver
228 \remove Time_signature_engraver
229 \remove Key_engraver
230 \remove Clef_engraver
231 \remove Ottava_spanner_engraver
232 \remove Bar_engraver
233 \remove Instrument_name_engraver
234 \override StaffSymbol #'line-count = #1
235 \override StaffSymbol #'color = #(rgb-color 0.9 0.9 0.9)
236 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1 )
237 %\consists Hara_kiri_engraver
238 %\override VerticalAxisGroup #'remove-empty = ##t
240 \context {
241 \Voice
242 \remove Grace_engraver
243 \remove Tuplet_engraver
244 \remove Tie_engraver
245 \remove Slur_engraver
246 \remove Phrasing_slur_engraver
247 \remove Script_engraver
248 \remove Dynamic_engraver
249 \remove New_dynamic_engraver
250 \remove Grace_beam_engraver
251 \remove Beam_engraver
252 \remove Stem_engraver
253 \remove Rest_engraver
254 \remove Dots_engraver
255 \remove Note_heads_engraver
256 \remove Breathing_sign_engraver
257 \remove Glissando_engraver
258 \remove Trill_spanner_engraver
259 \remove Text_engraver
260 \remove Text_spanner_engraver
261 \remove Multi_measure_rest_engraver
262 \remove Arpeggio_engraver
263 \remove Pitched_trill_engraver
265 \context {
266 \Score
267 \override SystemStartBar #'stencil = ##f
270 %% Text inclusion -------------------------------------------------%
271 \context {
272 \type Engraver_group
273 \name TopLine
274 \consists Output_property_engraver
275 \consists Axis_group_engraver
277 \context {
278 \Score
279 \remove Metronome_mark_engraver
280 \accepts TopLine
281 \override PaperColumn #'keep-inside-line = ##t
282 \override NonMusicalPaperColumn #'keep-inside-line = ##t
283 \override RehearsalMark #'side-axis = #Y
284 \override RehearsalMark #'direction = #DOWN
285 \override RehearsalMark #'outside-staff-priority = #900
286 \override RehearsalMark #'self-alignment-X = #left
287 \override MetronomeMark #'side-axis = #Y
288 \override MetronomeMark #'direction = #DOWN
289 \override TextScript #'outside-staff-priority = #900
290 \override TextSpanner #'outside-staff-priority = #1000
291 \override TextSpanner #'direction = #DOWN
294 \context {
295 \Lyrics
296 \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1 )
297 \override InstrumentName #'font-family = #'sans
298 \override InstrumentName #'font-series = #'bold
299 \override InstrumentName #'extra-X-extent = #'(0 . 2 )
300 \override InstrumentName #'extra-X-extent = #'(-1 . 1 )
303 %% Additional tweaks ---------------------------------------------%
304 \context {
305 \Score
306 \override BarNumber #'transparent = ##t
308 %%-----------------------------------------------------------------%