2 % generic paper parameters
4 paperfile = \papersize + ".ly";
9 interline = \staffheight / 4.0;
12 % thickness of stafflines
13 staffline = \interline / 10.0;
15 beam_thickness = 0.52 * (\interline - \staffline);
16 interbeam = (2.0 * \interline - \beam_thickness) / 2.0;
17 interbeam4 = (3.0 * \interline - \beam_thickness) / 3.0;
23 stem_length = 3.5*\interline;
26 % stems in unnatural (forced) direction should be shortened,
27 % according to [Roush & Gourlay]. Their suggestion to knock off
28 % a whole staffspace seems a bit drastical though?
30 forced_stem_shorten = 1.0 * \interline;
33 % there are several ways to calculate the direction of a beam
35 % * MAJORITY : number count of up or down notes
36 % * MEAN : mean centre distance of all notes
37 % * MEDIAN : mean centre distance weighted per note
39 % enum Dir_algorithm { DOWN=-1, UP=1, MAJORITY=2, MEAN, MEDIAN };
47 beam_dir_algorithm = \MAJORITY;
51 % some beam-stemlength settings...
53 % beam_*1 : multiplicity < beam_multiple_break
54 % beam_*2 : multiplicity >= beam_multiple_break
56 beam_multiple_break = 3.0;
57 beam_minimum_stem1 = 0.75 * \interline;
58 beam_ideal_stem1 = 1.75 * \interline;
59 beam_minimum_stem2 = 0.75 * \interline;
60 beam_ideal_stem2 = 1.25 * \interline;
62 % beam_slope_damp_correct_factor = 2.0;
63 beam_slope_damp_correct_factor = 0.0;
65 % OSU: suggested gap = ss / 5;
66 slur_x_gap = \interline / 5.0;
67 slur_x_minimum = 2.0 * \interline;
68 slur_slope_damping = 0.5;
69 tie_x_minimum = \slur_x_minimum;
70 tie_x_gap = \slur_x_gap;
71 tie_slope_damping = 0.3;
73 % ugh: rename to bow (in bezier.cc and fonts.doc too...)
74 % slur_thickness = 1.8 * \staffline;
75 slur_thickness = 1.4 * \staffline;
76 slur_height_limit = \staffheight;
78 % mmm, try bit flatter slurs
79 % slur_ratio = 1.0 / 3.0;
81 slur_clip_ratio = 1.2;
82 slur_clip_height = 3.0 * \staffheight;
83 slur_clip_angle = 100.0;
87 notewidth = (\quartwidth + \wholewidth) / 2.0;
90 barsize = \staffheight;
91 rulethickness = \staffline;
92 stemthickness = \staffline;
95 gourlay_energybound = 100000.;
97 The following bounds the number of measures
98 on a line. Decreasing it greatly reduces computation time
100 gourlay_maxmeasures = 10.;
101 castingalgorithm = \Gourlay;
102 \include "engraver.ly";