In the attached file I avoid collisions in a passage with many accidentals, but I have to adapt the definition of \mysk at each system. Otherwise sometimes \mysk is to big, sometimes it is too small.

How can I "sense" the value of \elemskip at each system and write a
definition of \mysk under the form: mysk=my_constant+\elemskip*my_coeff? I hope I'll find the right values of my_constant and my_coeff by trial-and-error. :-)

Bye

Jean-Pierre Coulon
\input musixtex
\nostartrule
\hsize80mm
\generalsignature{-1}

\def\mysk{\off{.8\elemskip}}

\startpiece
%\def\mysk{\off{.0001\elemskip}}%
\addspace\afterruleskip%
\notes\ibbu1b1\qb1 a\mysk\qb1{=b}\mysk\qb1{^c}\tqh1d\en
\notes\ibbu1b1\qb1a\mysk\qb1{=b}\mysk\qb1{^c}\tqh1d\en
\notes\ibbu1b1\qb1a\mysk\qb1{=b}\mysk\qb1{^c}\tqh1d\en
\bar%
%\def\mysk{\off{.8\elemskip}}%
\notes\ibbu1b1\qb1a\mysk\qb1{=b}\mysk\qb1{^c}\tqh1d\en
\notes\ibbu1b1\qb1a\mysk\qb1{=b}\mysk\qb1{^c}\tqh1d\en
\notes\ibbu1b1\qb1a\mysk\qb1{=b}\mysk\qb1{^c}\tqh1d\en
\notes\ibbu1b1\qb1a\mysk\qb1{=b}\mysk\qb1{^c}\tqh1d\en
\bar% left as is!
\notes\ibbu1b1\qb1{a=b^c}\tqh1d\en
\notes\ibbu1b1\qb1{a=b^c}\tqh1d\en
\notes\ibbu1b1\qb1{a=b^c}\tqh1d\en
\notes\ibbu1b1\qb1{a=b^c}\tqh1d\en
\linegoal3%
\stoppiece
\end
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music

Reply via email to