1 %------------------------------------------------------------------%
2 % Opéra Libre -- common.ly %
4 % (c) Valentin Villenave, 2008, 2009 %
5 %------------------------------------------------------------------%
7 %% Depends on: decoupage.ly, graphics.ly
9 %%%%%%%%%%%%%%%%%%%% Main variables inclusion %%%%%%%%%%%%%%%%%%%%%%
13 subtitle
= \OperaSousTitre
14 libretto
= \OperaLivret
15 composer
= \OperaPartition
16 tagline
= \OperaNotice
17 illustration
= \Couronne
18 scoretype
= \FullScore
19 copyright
= \Copyright
22 %%%%%%%%%%%%%%%%%%%%%%%%%%% Paper Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%
25 %% Page variables -------------------------------------------------%
26 page-limit-inter-system-space
= ##t
27 page-limit-inter-system-space-factor
= 1.4
28 #(define page-breaking ly
:minimal-breaking
)
30 %% Horizontal margins ---------------------------------------------%
31 left-margin
= #(+
13 (* 3 mm
))
32 right-margin
= #(+
7 (* 3 mm
))
33 line-width
= #(- paper-width
(+ left-margin right-margin
))
34 %{ line-width = #(- paper-width (* 40 mm))
38 ragged-last-bottom = ##t
40 between-system-space = 1\cm
41 between-system-padding = #5 %}
43 %% Vertical margins -----------------------------------------------%
44 page-top-space = #(* 7 mm)
45 between-system-space = 2 \mm
46 between-system-padding = #5
47 %before-title-space = 10 \mm
48 %between-title-space = 2 \mm
49 %after-title-space = 5 \mm
51 ragged-last-bottom = ##f
54 %% Default titling ------------------------------------------------%
55 bookTitleMarkup = \markup \null
57 %% Look and feel --------------------------------------------------%
58 %FIXME: this doesn't work well.
59 systemSeparatorMarkup = \markup { \null \vspace #10 \null }
61 %FIXME: duplicate code with titling.ly
62 scoreTitleMarkup = \markup {
66 \fontsize #10 \fromproperty #'header:acte
68 \fontsize #6 \fromproperty #'header:piece
70 \fromproperty #'header:dessin
77 %%-----------------------------------------------------------------%