Thanks to Andre, Christian, and Olivier for contributions to this thread.
Let me try to summarize the situation. Then I'll suggest a few changes.

Whole notes are 25% wider than non-whole notes.

When any main note or non-whole chord note is explicitly shifted in PMX with
"l" or "e", \loff or \roff is used and the note is shifted by a non-whole
notehead width.

When a whole chord note is explicitly shifted in PMX with "l" or "e", \lw or
\rw is used, thereby shifting by 1.25 times a non-whole notehead width.

When PMX is left alone to deal with whole note chords, all necessary shifts
are automagically inserted. They use either \lw or \rw, according to whether
the stem would go down or up if there were a stem.

All of the same statements apply to dotted whole notes, with two caveats:
First, PMX will issue commands \rwp or \lwp but there is currently no
definition for them in either musixtex.tex or pmx.tex; as of now one must be
supplied by the user. Second, there is no automatic shifting of dots, but
the dots can be shifted manually with the usual PMX options.

I believe that no changes are called for in pmxab.exe. It is true that in a
whole note chord, if a main note is explicitly shifted, it will not be
shifted far enough. But if that is ever needed at all, it would occur so
rarely that it's not worth the time or risk to correct it automatically in
PMX. Similarly, if whole notes need to be shifted to avoid crashes between
two voices on the ame staff, the user can easily patch things up with XS as
in Olivier's example below.

However, the commands \rwp,\lwp should be defined either in musixtex.tex or
pmx.tex. I propose to Olivier that they be included in musixtex.tex, as well
as the corresponding commands for shifted, dotted, non-whole notes that are
now included in pmx.tex. However, if there is some reason why they shouldn't
be in musixtex.tex, I can put them into pmx.tex.

Thanks to Olivier's insights, I've noticed what appear to be misstatements
in musixdoc: in Section 2.5.3, p.27 of Version T.111, it lists the
horizontal shifts as all being about 6 pt. First, the shifts for whole notes
described in this section should be 25% larger than for non-whole notes, and
second, the absolute distance depends on musicsize; 6pt only applies to
non-whole notes at 20pt musicsize.

--Don Simons

> -----Original Message-----
> From: Olivier Vogel [mailto:[EMAIL PROTECTED]
> Sent: Sunday, December 14, 2003 4:23 AM
> To: Typesetting music with TeX; [EMAIL PROTECTED]
> Subject: pmx - \rwp and \lwp
>
>
> Dear Don,
>
> I realize that the code produced by PMX is perfectly coherent.
> The macros \lw and \rw occur when one knows that the other notes
> which provoke the collision are whole notes too.
>
> The macros \loff{\wh } and \roff{\wh } occur when one doesn't
> know the values of the other notes. They can be whole notes or
> maybe not. In the first case, one has to adjust manually the spacing.
>
> 8<-----
> 1 1 4 4 4 4 0 0
> 1 1 20 0
>
> t
> ./
> w120m
> XS-.25 f04e | f0 | f2e e | f e //
> g04 | XS+.25 g0r | g0 | g0r /
> 8<-----
>
> In clear, don't modify PMX, its coding is perfect!
>
> Olivier
>

_______________________________________________
Tex-music mailing list
[EMAIL PROTECTED]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to