2 % generic paper parameters
9 * use elt properties, iso. paper variables.
14 papersizename = \papersize ;
16 paperfile = \papersize + ".ly";
17 % paperfile = "a4.ly";
21 staffspace = \staffheight / 4.0;
22 stafflinethickness = \staffspace / 10.0;
25 The space taken by a note is determined by the formula
27 SPACE = arithmetic_multiplier * ( C + log2 (TIME) ))
29 where TIME is the amount of time a note occupies. The value of C is
30 chosen such that the smallest space within a measure is
31 arithmetic_basicspace:
33 C = arithmetic_basicspace - log2 (mininum (SHORTEST, 1/8))
35 The smallest space is the one following the shortest note in the
36 measure, or the space following a hypothetical 1/8 note. Typically
37 arithmetic_basicspace is set to a value so that the shortest note
38 takes about two noteheads of space (ie, is followed by a notehead of
41 2*quartwidth = arithmetic_multiplier * ( C + log2 (SHORTEST) ))
43 { using: C = arithmetic_basicspace - log2 (mininum (SHORTEST, 1/8)) }
44 { assuming: SHORTEST <= 1/8 }
46 = arithmetic_multiplier *
47 ( arithmetic_basicspace - log2 (SHORTEST) + log2 (SHORTEST) )
49 = arithmetic_multiplier * arithmetic_basicspace
51 { choose: arithmetic_multiplier = 1.0*quartwidth (why?)}
53 = quartwidth * arithmetic_basicspace
57 arithmetic_basicspace = 2/1 = 2
59 If you want to space your music wider, use something like:
61 arithmetic_basicspace = 4.;
64 % We use 0.9*\quartwidth, because 1.0 seems to wide.
65 % quartwidth == 1.32 * staffspace
66 % We don't adjust arithmetic_basicspace accordingly (why not?)
67 arithmetic_multiplier = 0.9 * 1.32 * \staffspace ;
68 arithmetic_basicspace = 2.0;
72 % URG: the magic constants for area asymmetry
74 bezier_pct_c3 = 0.000006;
75 bezier_pct_out_max = 0.8;
76 bezier_pct_in_max = 1.2;
77 bezier_area_steps = 1.0;
80 % vertical space between lines of text.
81 line_kern = \staffspace;
84 % optical correction amount.
85 stemSpacingCorrection = 0.5*\staffspace;
89 relative strength of space following breakable columns (eg. prefatory matter)
91 breakable_column_space_strength = 2.0;
93 % space after inline clefs and such get this much stretched
94 decrease_nonmus_spacing_factor = 1.0 ;
97 space before musical columns (eg. taken by accidentals) get this much
98 stretched when they follow a musical column, in absence of grace notes.
100 0.0 means no extra space (accidentals are ignored)
102 musical_to_musical_left_spacing_factor = 0.4;
105 stretch space this much if there are grace notes before the column
107 before_grace_spacing_factor = 1.2;
110 If columns do not have spacing information set, set it to this much
112 loose_column_distance = 2.0 * \staffspace;
115 Relative cost of compressing (vs. stretching). Increasing this
116 will cause scores to be set looser
120 compression_energy_factor = 0.6;
122 \translator { \NoteNamesContext }
123 \translator { \ScoreContext }
124 \translator { \ChoirStaffContext}
125 \translator { \GraceContext}
126 \translator { \RhythmicStaffContext}
127 \translator { \StaffContext }
128 \translator { \VoiceContext}
129 \translator { \StaffGroupContext }
130 \translator { \ChordNameContext }
131 \translator { \ChordNameVoiceContext}
132 \translator { \GrandStaffContext}
133 \translator { \LyricsContext }
134 \translator { \ThreadContext}
135 \translator { \PianoStaffContext}
136 \translator { \LyricsVoiceContext }