I have made macros containing a spacing command and an accidental. I want
to make *two* versions of my score. One with both commands active, the
other with both inactive. Therefore I'va made macros with \ifx.
But why are the beam starts displaced with my definitions using \ifx?
Please try the simple and complicated definitions in the attached file.
Bye,
Jean-Pierre Coulon
\input musixtex
\nostartrule
% simple definitions:
%\def\mysk{\off{.8\elemskip}}
%\def\mysksh#1{\off{.8\elemskip}\sh{#1}}
%\def\myskna#1{\off{.8\elemskip}\na{#1}}
% complicated defintions:
\def\mysk{\ifx\urtext\undefined{\off{.8\elemskip}}\else\empty\fi}
\def\mysksh#1{\ifx\urtext\undefined{\off{.8\elemskip}\sh{#1}}\else\empty\fi}
\def\myskna#1{\ifx\urtext\undefined{\off{.8\elemskip}\na{#1}}\else\empty\fi}
\def\notess{\vnotes1.4\elemskip}
\startextract
\notes\ibu1b1\qb1{Na}\myskna b\qb1b\mysksh c\tqh1c\en
\notes\ibu1b1\qb1{Na}\mysk\na b\qb1b\mysk\sh c\tqh1c\en
\notes\ibu1b1\qb1{Na}\mysk\qb1{=b}\mysk\tqh1{^c}\en
\endextract
\end
-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
http://tug.org/mailman/listinfo/tex-music