2 % generic paper parameters
4 %%paperfile = \papersize + ".ly";
5 %%% paperfile = "a4.ly";
10 %%\include "paper.ly";
11 linewidth = 60.0\char;
12 textheight = 60.0\char;
15 %interline = \staffheight / 4.0;
18 %stafflinethickness = \interline / 10.0;
19 stafflinethickness = 1.0\char;
21 % urg, need grace_ versions of these too?
22 beam_thickness = 0.52 * (\interline - \stafflinethickness);
24 #'beam-thickness = \beam_thickness; %% UGR
27 interbeam = (2.0 * \interline + \stafflinethickness - \beam_thickness) / 2.0;
28 interbeam4 = (3.0 * \interline - \beam_thickness) / 3.0;
31 The space taken by a note is determined by the formula
33 arithmetic_multiplier * ( c + log2 (time) ))
35 where code(time) is the amount of time a note occupies. The value
36 of code(c) is chosen such that the smallest space within a measure is
37 arithmetic_basicspace. The smallest space is the one following the
38 shortest note in the measure. Typically arithmetic_basicspace is set
39 to the width of a quarter note head.
41 arithmetic_basicspace = 2.;
42 arithmetic_multiplier = 0.9 * \quartwidth ;
45 #'Stem_tremolo::beam-width = 1.5 * \quartwidth ;
47 #'Clef_item::visibility-lambda = #postbreak-only-visibility
48 #'Key_item::visibility-lambda = #postbreak-only-visibility
49 #'Breathing_sign::visibility-lambda = #non-postbreak-visibility
51 % catch suspect beam slopes, set slope to zero if
52 % outer stem is lengthened more than
53 beam_lengthened = 0.2 * \interline;
54 % and slope is running away steeper than
55 beam_steep_slope = 0.2 / 1.0;
58 dit(code(slur_x_gap)) Horizontal space between note and slur. Set to
59 code(\interline / 5) by default.
62 % OSU: suggested gap = ss / 5;
63 slur_x_gap = \interline / 5.0;
64 slur_y_gap = 0.25 * \interline;
65 slur_y_free = 0.75 * \interline;
66 slur_x_minimum = 1.5 * \interline;
69 Like beams, slurs often aren't as steep as the notes they encompass.
70 This sets the amount of damping.
72 % slope damping: keep dy/dx < slur_slope_damping
73 slur_slope_damping = 0.3;
74 slur_interstaff_slope_damping = 0.6;
75 % height damping: keep h/dx < slur_height_damping
76 slur_height_damping = 0.4;
77 slur_interstaff_height_damping = 0.5;
78 % snap to stem if slur ends closer to stem than
79 slur_snap_to_stem = 1.75 * \interline;
80 slur_interstaff_snap_to_stem = 2.5 * \interline;
81 % maximum dy change allowed by snapping
82 slur_snap_max_slope_change = 0.5;
83 slur_interstaff_snap_max_slope_change = 0.5;
87 tie_x_minimum = \interline + \slur_x_minimum;
88 % OSU: tie gap == slur gap
89 tie_x_gap = \slur_x_gap;
90 tie_y_gap = 0.25 * \interline;
91 % length of a tie that's a staffspace high
92 tie_staffspace_length = 4.0 * \interline;
94 % ugh: rename to bow (in bezier.cc and fonts.doc too...)
97 slur_thickness = 1.2 * \stafflinethickness;
98 tie_thickness = 1.2 * \stafflinethickness;
101 Specifies the maximum height of slurs.
103 slur_height_limit = \staffheight;
107 Specifes the ratio of slur hight to slur width
108 to aim for. Default value is 0.3.
112 % try bit flatter slurs
114 slur_clip_ratio = 1.2;
115 slur_clip_height = 3.0 * \staffheight;
116 slur_clip_angle = 100.0;
117 slur_rc_factor = 2.4;
120 notewidth = 3.0\char;
122 gourlay_energybound = 100000.;
124 Maximum number of measures per line to try when using Gourlay
127 gourlay_maxmeasures = 10.;
130 bar_thinkern = 1.0\char;
131 barthick_thick = 1.0\char;
132 barthick_score = 1.0\char;
133 barthick_thin = 1.0\char;
135 bracket_arch_thick = \interline / 3.0;
136 bracket_width = 2.0 * \interline;
137 bracket_thick = 2.0 * \stafflinethickness;
138 bracket_arch_height = 1.5 * \interline;
139 bracket_arch_width = \bracket_arch_height;
140 bracket_arch_angle = 50.0;
142 tuplet_spanner_gap = 2.0 * \interline;
143 tuplet_thick = 1.0*\stafflinethickness;
144 volta_thick = 1.6*\stafflinethickness;
145 volta_spanner_height = 2.0 *\interline;
147 % relative thickness of thin lines 1.6 : 1 : 0.8
148 stemthickness = 1.0\char;
149 rulethickness = 1.0\char;
152 extender_height = 0.8*\stafflinethickness;
154 hyphen_thickness = 0.05*\font_normal;
155 hyphen_height = 0.2*\font_normal;
156 hyphen_minimum_length = 0.25*\font_normal;
158 % Multi-measure rests
159 multi_measure_rest_x_minimum = 2.5*\staffheight;
160 multi_measure_rest_padding = 2.0 *\interline;
161 multi_measure_rest_expand_limit = 10.0;
163 % chop off this much when next to pp / ff sign.
164 crescendo_shorten = 4.0 * \interline;
165 crescendo_thickness = \stafflinethickness;
166 crescendo_height = 0.666 * \interline;
169 restcollision_minimum_dist = 3.0;
170 restcollision_minimum_beamdist = 1.5;
173 % unit for note collision resolving
174 collision_note_width = \notewidth; %ugh.
177 postBreakPadding = 0.0;
179 % optical correction amount.
180 stemSpacingCorrection = 0.5*\interline;
184 relative strength of space following breakable columns (eg. prefatory matter)
186 breakable_column_space_strength = 2.0;
188 % space after inline clefs and such get this much stretched
189 decrease_nonmus_spacing_factor = 1.0 ;
192 space before musical columns (eg. taken by accidentals) get this much
193 stretched when they follow a musical column, in absence of grace notes.
195 0.0 means no extra space (accidentals are ignored)
197 musical_to_musical_left_spacing_factor = 0.4;
200 stretch space this much if there are grace notes before the column
202 before_grace_spacing_factor = 1.2;
205 If columns do not have spacing information set, set it to this much
207 loose_column_distance = 2.0 * \interline;
210 Relative cost of compressing (vs. stretching). Increasing this
211 will cause scores to be set looser
215 compression_energy_factor = 0.6;
217 % if stem is on middle line, choose this direction.
218 stem_default_neutral_direction = 1.0;
221 articulation_script_padding_default = 1.0;
223 % Backward compatibility -- has no function;
227 \include "engraver.ly";
230 #'margin-shape = #'()
234 #'Local_key_item::left-padding = #'0.2
235 #'Local_key_item::right-padding = #'0.4
237 #'Staff_symbol::staff-space = \interline ;
238 #'Staff_symbol::line-count = #5