2 % generic paper parameters
9 * use elt properties, iso. paper variables.
13 paperfile = \papersize + ".ly";
14 % paperfile = "a4.ly";
18 staffspace = \staffheight / 4.0;
19 stafflinethickness = \staffspace / 10.0;
22 The space taken by a note is determined by the formula
24 SPACE = arithmetic_multiplier * ( C + log2 (TIME) ))
26 where TIME is the amount of time a note occupies. The value of C is
27 chosen such that the smallest space within a measure is
28 arithmetic_basicspace:
30 C = arithmetic_basicspace - log2 (mininum (SHORTEST, 1/8))
32 The smallest space is the one following the shortest note in the
33 measure, or the space following a hypothetical 1/8 note. Typically
34 arithmetic_basicspace is set to a value so that the shortest note
35 takes about two noteheads of space (ie, is followed by a notehead of
38 2*quartwidth = arithmetic_multiplier * ( C + log2 (SHORTEST) ))
40 { using: C = arithmetic_basicspace - log2 (mininum (SHORTEST, 1/8)) }
41 { assuming: SHORTEST <= 1/8 }
43 = arithmetic_multiplier *
44 ( arithmetic_basicspace - log2 (SHORTEST) + log2 (SHORTEST) )
46 = arithmetic_multiplier * arithmetic_basicspace
48 { choose: arithmetic_multiplier = 1.0*quartwidth (why?)}
50 = quartwidth * arithmetic_basicspace
54 arithmetic_basicspace = 2/1 = 2
56 If you want to space your music wider, use something like:
58 arithmetic_basicspace = 4.;
61 % We use 0.9*\quartwidth, because 1.0 seems to wide.
62 % quartwidth == 1.32 * staffspace
63 % We don't adjust arithmetic_basicspace accordingly (why not?)
64 arithmetic_multiplier = 0.9 * 1.32 * \staffspace ;
65 arithmetic_basicspace = 2.0;
69 % URG: the magic constants for area asymmetry
71 bezier_pct_c3 = 0.000006;
72 bezier_pct_out_max = 0.8;
73 bezier_pct_in_max = 1.2;
74 bezier_area_steps = 1.0;
77 % vertical space between lines of text.
78 line_kern = \staffspace;
81 % optical correction amount.
82 stemSpacingCorrection = 0.5*\staffspace;
86 relative strength of space following breakable columns (eg. prefatory matter)
88 breakable_column_space_strength = 2.0;
90 % space after inline clefs and such get this much stretched
91 decrease_nonmus_spacing_factor = 1.0 ;
94 space before musical columns (eg. taken by accidentals) get this much
95 stretched when they follow a musical column, in absence of grace notes.
97 0.0 means no extra space (accidentals are ignored)
99 musical_to_musical_left_spacing_factor = 0.4;
102 stretch space this much if there are grace notes before the column
104 before_grace_spacing_factor = 1.2;
107 If columns do not have spacing information set, set it to this much
109 loose_column_distance = 2.0 * \staffspace;
112 Relative cost of compressing (vs. stretching). Increasing this
113 will cause scores to be set looser
117 compression_energy_factor = 0.6;
119 \translator { \NoteNamesContext }
120 \translator { \ScoreContext }
121 \translator { \ChoirStaffContext}
122 \translator { \GraceContext}
123 \translator { \RhythmicStaffContext}
124 \translator { \StaffContext }
125 \translator { \VoiceContext}
126 \translator { \StaffGroupContext }
127 \translator { \ChordNameContext }
128 \translator { \ChordNameVoiceContext}
129 \translator { \GrandStaffContext}
130 \translator { \LyricsContext }
131 \translator { \ThreadContext}
132 \translator { \PianoStaffContext}
133 \translator { \LyricsVoiceContext }