Christian wrote

>Don Simons wrote:
>>...
>> However, if you only want to alter the position of the bar number on a
>> one-time basis, there is an undocumented macro in pmx.tex called \bnrs
>>("bar
>> number raise & shift"). It has two arguments, the amount to raise it
>>(in
>> \internote) and the amount to shift if horizontally (in notehead
>>widths).
>> Example of use:
>> ==============================
>> 1 1 4 4 4 4 0 0
>> 1 4 20 0
>>
>> t
>> .\
>> w3i
>> c86 c c c c c c c c c c c c c c c /
>> cs86 c c c c c c c c c c c c c c \bnrs0{-2}\ c /
>> cs86 c c c c c c c c c c c c c c c /
>> cs86 c c c c c c c c c c c c c c c /
>> ===============================
>> This shifts the 3rd system's bar number to left. But the same issue
>>applies
>> as with the baseline behavior: some of the redefinitions I used here
>>could
>> confuse or get confused by other redefinitions that a user might try.
>
>The problem with this solution is that the evocation of \bnrs only
>affects the current bar. If you apply it to bar 14 of the pmx source in
>question (*) it does fix the problem for bar 14. But in the subsequent
>bars the bar numbers are still displaced. Actually I believe that this
>behavior is an 'exotic feature' (bug?) in pmx. IMHO pmx should store the
>current settings for the bar number positioning before calculating the
>offset caused by a continuation slur. At the subsequent bar the original
>positioning settings should be restored from the saved values.
>
>(*) an arrangement for string trio of the Kyrie movent from the B-Minor
>Mass by J.S.Bach

I wasn't proposing \bnrs as a solution to Hermann's issue. I was just
describing it so people could use it as intended if they wished. 

As I understand it, Hermann wants to do three things, (1) change the font ,
(2) remove the box, and (3) raise the position globally from the default. I
assume Olivier's solution accomplishes this. \bnrs is not intended to do any
of these, it's just supposed to change the position of the next bar number,
and not change anything else from the PMX defaults. And as I mentioned, it
may interact in unexpected ways if there are any redefinitions. 

Nevertheless, in experimenting with Hermann's example, I have discovered an
issue with \bnrs, although I don't think it's what Christian has mentioned.
After commenting out Hermann's redefinitions and inserting a few \bnrs both
before and after bar 14, I notice that after the PMX-generated tweak at 14
(due to the linebreak tie), the vertical offset in \bnrs is ignored (but the
horizontal one is observed). I'll spend some time looking into how to fix
this, probably by having PMX issue a \bnrs when the number has to be moved
for a linebreak tie (instead of explicitly redefining \raisebarno as is now
done). And who know, maybe in the process I'll stumble across an easy way to
deal with Hermann's wishes within PMX.

--Don


_______________________________________________
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://mailman.nfit.au.dk/mailman/listinfo/icking-music-archive.org-tex-music

Reply via email to