>|So we now have three possible re-definitions of
 >|\centerpause. I'm guessing that all of them compensate for
 >|the fact that \centerbar does *not* center its argument,
 >|which would be a more fundamental problem than \centerpause
 >|and would affect, for example, all the multi-bar rests in
 >|Werner's rests.tex.
 >|
 >|I'll experiment.


As I suspected, the problem is in the definition of
\centerbar. If one inserts \let\adv@box\hbox before #1,
then \centerpause, \centerhpause, \centerPAuse, etc. are
all correctly centered. Jean-Pierre's definitions aren't
necessary but won't affect the operation of a revised
\centerbar. All the multi-bar rests in Werner's rests.tex
are improved by this one change.

As for pmx.tex, Don says

 >|After reminding myself how PMX deals with centered
 >|pauses, I guess I should qualify my earlier invitation
 >|to fix (any) perceived issues in MusiXTeX. To be clear,
 >|I'm pretty sure what Bob proposes below won't affect PMX
 >|at all because I don't believe PMX uses \centerpause.
 >|Instead, what PMX uses is for example
 >|
 >|...
 >|\xbar
 >|\pnotes{5.66}\en%
 >|\def\atnextbar{\znotes\centerbar{\pausc}\en}%
 >|\xbar
 >|...
 >|
 >|where \pausc is defined in pmx.tex as
 >|\def\pausc{\lrlap{\pause\off{\qn@width}}}%

but in fact pmx.tex doesn't use \centerbar at all; rather it
uses a new command \Centerbar defined in pmx.tex with the
comment

% CenterBar and mbrest modified 2/01 to account for simick mods in
%   musixtex 1.01

so the offsets in \pausc and other commands defined in
pmx.tex (which would be unnecessary and incorrect with
a revised \centerbar) won't be affected by correcting
\centerbar. Don will have to decide whether to simplify
pmx.tex.

Bob
-------------------------------
[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