1 %------------------------------------------------------------------%
2 % Opéra Libre -- layout.ly %
4 % (c) Valentin Villenave, 2008 %
6 %------------------------------------------------------------------%
8 #(ly
:set-option
'point-and-click
#f)
10 %%%%%%%%%%%%%%%%%%%%%%%%%%% Score Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%
12 %% Staff size -----------------------------------------------------%
13 #(set-global-staff-size
14)
15 %% Paper size -----------------------------------------------------%
16 % #(set-default-paper-size (if (ly:get-option 'letter) "letter" "a4"))
18 %% Common Layout --------------------------------------------------%
20 #(override-auto-beam-setting
'(end
* * 3 4) 1 4 'Score
)
21 #(override-auto-beam-setting
'(end
* * 3 4) 2 4 'Score
)
22 #(override-auto-beam-setting
'(end
* * 4 4) 1 4 'Score
)
23 #(override-auto-beam-setting
'(end
* * 4 4) 3 4 'Score
)
24 #(override-auto-beam-setting
'(end
* * 2 2) 1 4 'Score
)
25 #(override-auto-beam-setting
'(end
* * 2 2) 2 4 'Score
)
26 #(override-auto-beam-setting
'(end
* * 2 2) 3 4 'Score
)
27 #(override-auto-beam-setting
'(end
1 16 2 2) 1 4 'Score
)
28 #(override-auto-beam-setting
'(end
1 16 2 2) 2 4 'Score
)
29 #(override-auto-beam-setting
'(end
1 16 2 2) 3 4 'Score
)
30 #(override-auto-beam-setting
'(end
1 16 2 8) 1 4 'Score
)
31 #(override-auto-beam-setting
'(end
1 8 2 8) 1 4 'Score
)
32 \set Score
.tieWaitForNote
= ##t
33 \set Score
.ignoreMelismata
= ##t
34 \override Score
.LyricText
#'self-alignment-X
= #-
0.5
35 \override Score
.PaperColumn
#'keep-inside-line
= ##t
36 \override Score
.VerticalAxisGroup
#'minimum-Y-extent
= #'(-
1 . 5)
37 \set Score
.markFormatter
= #format-mark-box-letters
38 % \set Score.metronomeMarkFormatter = #format-movement-markup
39 \override Score
.RehearsalMark
#'extra-offset
= #'(0.0 . 0.0 )
40 \override Score
.RehearsalMark
#'font-size
= #10
41 \override Score
.TimeSignature
#'style
= #'()
42 \override Score
.RehearsalMark
#'self-alignment-X
= #left
43 \override Score
.OttavaBracket
#'dash-fraction
= #0.05
44 \override Score
.OttavaBracket
#'dash-period
= #0.25
45 \override Score
.Accidental
#'minimum-X-extent
= #'(-
0.5 . 0 )
46 \override Score
.SystemStartBracket
#'collapse-height
= #1
47 \override Score
.SystemStartBrace
#'collapse-height
= #1
48 \override Score
.BarLine
#'hair-thickness
= #1.2
49 #(set-accidental-style
'modern
'Score
)
52 %% Time Signatures layouts ----------------------------------------%
54 \override TimeSignature
#'break-visibility
= #end-of-line-invisible
55 \override TimeSignature
#'font-size
= #3
56 \override TimeSignature
#'break-align-symbol
= ##f
57 \override TimeSignature
#'X-offset
= #ly
:self-alignment-interface
::x-aligned-on-self
58 \override TimeSignature
#'self-alignment-X
= #0
59 \override TimeSignature
#'after-line-breaking
= #shift-right-at-line-begin
64 \override TimeSignature
#'font-size
= #4
69 % \override TimeSignature #'break-visibility = ##(#f #t #f)
70 \override TimeSig
.TimeSignature
#'font-size
= #3
71 \override TimeSig
.VerticalAxisGroup
#'minimum-Y-extent
= #'(-
1 . 5)
75 \override DynaMeter
.TimeSignature
#'font-size
= #1
76 \override DynaMeter
.VerticalAxisGroup
#'minimum-Y-extent
= #'(-
1.5 . 1.5 )
80 %% Vocal score layout --------------------------------------------%
83 \override Score
.RehearsalMark
#'font-size
= #4
84 \override Score
.TimeSignature
#'X-extent
= #'(0 . 2)