maxshrink float

Default Command lineScope Available in
0.65-afloatgenerationabcm2ps
abc2svg

Set how much to compress horizontally when music line breaks are automatic.

float must be between 0 (natural spacing) and 1 (max shrinking).

This parameter is used with %%breaklimit to adjust the place where automatic music line breaks may occur.

In the following example, %%linewarn is set to '0' to avoid warning messages.

X:1
T:maxshrink 0.65
%%pagewidth 10cm
M:C
L:1/4
%%linewarn 0
K:C
cccc | cccc | cccc | cccc | cccc | cccc |
X:1 T:maxshrink 0.65 %%pagewidth 10cm M:C L:1/4 %%linewarn 0 K:C cccc | cccc | cccc | cccc | cccc | cccc |
X:2
T:maxshrink 0.9
%%pagewidth 10cm
M:C
L:1/4
%%linewarn 0
K:C
%%maxshrink 0.9
cccc | cccc | cccc | cccc | cccc | cccc |
X:2 T:maxshrink 0.9 %%pagewidth 10cm M:C L:1/4 %%linewarn 0 K:C %%maxshrink 0.9 cccc | cccc | cccc | cccc | cccc | cccc |