[EMAIL PROTECTED] (Stefan Haller) wrote
>..for my taste there could be a little more distance between the
>figures and the lowest bass note. Is there a way to globally shift
>all figures down by a specified amount? I wouldn't mind if I had to
>hack pmx.tex, I just can't figure out myself how to do this.
In-line to the rescue, 2 different approaches:
1 1 4 4 0 6 0 0
1 2 20 0.07
Basso
b
c:\pctex\texinput\
%
% A temporary solution, Change all "4" to whatever you want.
% Only works as in-line TeX, not within pmx.tex
%\\let\fixdt\fixdrop\def\fixdrop{\fixdt\advance\figdrop4}\
%
% The following re-definitions work either as in-line, or replace the
% definitions in pmx.tex. But changing pmx.tex is discouraged
% (if anything goes wrong, Dr. Don can't be held responsible).
\\def\Figu#1#2{\off{.9pt}\advance\figdrop#1\
\\advance\figdrop4\lower\figdrop\internote\
\\hbox to 0pt{\figfont#2\hss}\off{-.9pt}\advance\figdrop by -#1\
\\advance\figdrop-4}\
\\def\Cont#1#2{\advance\figdrop#1\advance\figdrop4\lower\figdrop\internote\
\\hbox to 0pt{\kern -0.3\noteskip\
\\vbox{\hrule height 1.4\lthick width #2\noteskip}\hss}\
\\advance\figdrop-#1\advance\figdrop-4}\
d23 654 x143 g2 - /
d23 c4 01 e 501 /
L2
d42 # x187- e c 3 e 50101 /
>Another related issue: in the following example, PMX produces the
>offsets -.8\noteskip and -.2\noteskip for the 2nd and 4th figure,
>respectively. I have to change this to -.75 and -.25 in the resulting
>.tex file to make it look good.
>
>1 1 4 4 0 0 0 0 0 2 20 0
>
>b
>./
>w2.5i
>a03 5# x1464 x245 x34# | d0- | /
You found a real live big, thanks! I don't have a good quick fix, but
will track it down ASAP. Meanwhile, you could probably use in-line to
manually place the figures where you want, something like (untested)
\offset{.5\noteskip}\Figu53\offset{-.5\noteskip}\ c03 54 /
but this will then remove the manually-inserted figure from the
baseline computation. Also, note that with the original coding, the
horizontal locations will change if there is another part that
metrically subdivides the bar into smaller increments. If there were
four quarters in the treble part, the floating figures would go right
where they should be.
--Don