interline = \staffheight / 4.0;
-% thickness of stafflines
-staffline = \interline / 10.0;
+stafflinethickness = \interline / 10.0;
% urg, need grace_ versions of these too?
-beam_thickness = 0.52 * (\interline - \staffline);
-interbeam = (2.0 * \interline + \staffline - \beam_thickness) / 2.0;
+beam_thickness = 0.52 * (\interline - \stafflinethickness);
+interbeam = (2.0 * \interline + \stafflinethickness - \beam_thickness) / 2.0;
interbeam4 = (3.0 * \interline - \beam_thickness) / 3.0;
% stems and beams
tie_staffspace_length = 4.0 * \interline;
% ugh: rename to bow (in bezier.cc and fonts.doc too...)
-% slur_thickness = 1.8 * \staffline;
-slur_thickness = 1.4 * \staffline;
+% slur_thickness = 1.8 * \stafflinethickness;
+slur_thickness = 1.4 * \stafflinethickness;
%{
Specifies the maximum height of slurs.
% ugh
notewidth = (\quartwidth + \wholewidth) / 2.0;
-% ugh
-rulethickness = \staffline;
-
gourlay_energybound = 100000.;
%{
Maximum number of measures per line to try when using Gourlay
-method. Decreasing this greatly reduces computation time.
+method.
%}
gourlay_maxmeasures = 10.;
-%{
-Gourlay is a better, TeX like algorithm for breaking lines. Wordwrap is faster, but leaves
-really spaced out lines at the end
-%}
-
-Gourlay = 1.0;
-Wordwrap = 0.0;
-
-castingalgorithm = \Gourlay;
%{ Ross. page 151 lists these values, but we think that thick lines
and kernings are too thick.
%}
-bar_kern = 3.0 * \staffline;
-bar_thinkern = 3.0 * \staffline;
-barthick_thick = 6.0* \staffline;
-barthick_thin = 1.6*\staffline;
-barthick_score = 1.6*\staffline;
+bar_kern = 3.0 * \stafflinethickness;
+bar_thinkern = 3.0 * \stafflinethickness;
+barthick_thick = 6.0* \stafflinethickness;
+barthick_thin = 1.6*\stafflinethickness;
+barthick_score = 1.6*\stafflinethickness;
tuplet_spanner_gap = 2.0 * \interline;
-tuplet_thick = 1.0*\staffline;
-volta_thick = 1.6*\staffline;
+tuplet_thick = 1.0*\stafflinethickness;
+volta_thick = 1.6*\stafflinethickness;
volta_spanner_height = 2.0 *\interline;
% relative thickness of thin lines 1.6 : 1 : 0.8
-stemthickness = 0.8*\staffline;
-rulethickness = \staffline;
+stemthickness = 0.8*\stafflinethickness;
+rulethickness = \stafflinethickness;
-extender_height = 0.8*\staffline;
+extender_height = 0.8*\stafflinethickness;
hyphen_thickness = 0.05*\font_normal;
hyphen_height = 0.2*\font_normal;
hyphen_minimum_length = 0.25*\font_normal;
% Multi-measure rests
-mmrest_x_minimum = 2.0*\staffheight;
+mmrest_x_minimum = 1.4*\staffheight;
% chop off this much when next to pp / ff sign.
crescendo_shorten = 4.0 * \interline;
-crescendo_thickness = \staffline;
+crescendo_thickness = \stafflinethickness;
+crescendo_height = 0.666 * \interline;
% in internote.
restcollision_minimum_dist = 3.0;
restcollision_minimum_beamdist = 1.5;
+
+% unit for note collision resolving
+collision_note_width = \notewidth; %ugh.
+
% deprecated!
postBreakPadding = 0.0;
%{
relative strength of space following breakable columns (eg. prefatory matter)
%}
-breakable_column_space_strength = 8.0;
+breakable_column_space_strength = 2.0;
% space after inline clefs and such get this much stretched
decrease_nonmus_spacing_factor = 1.0 ;
%}
loose_column_distance = 2.0 * \interline;
+%{
+Relative cost of compressing (vs. stretching). Increasing this
+will cause scores to be set looser
+.
+%}
+
+compression_energy_factor = 0.6;
+
% if stem is on middle line, choose this direction.
stem_default_neutral_direction = 1.0;
% in interline
articulation_script_padding_default = 1.0;
+% Backward compatibility -- has no function;
+Gourlay = 0.0;
+Wordwrap =0.0;
+
\include "engraver.ly";