2016-11-21 9:06 GMT+02:00 Don Simons <[email protected]>:
> In the postscript produced by the following PMX, the first 3 double bars are
> all generated by Rd, which I believe leads to the TeX command \setdoublebar.
> But in the third one, at end of the system before the key change, the 2nd
> vertical bar looks heavier, although not nearly as heavy as that produced by
> RD or by default at the end of the piece. Can anyone explain what’s going
> on? Could it be that the thicker line is somehow really two lines that are
> offset just a little bit? I don’t see anything in musixdoc about any double
> bar other than \setdoublebar or \setdoubleBAR.

The same happens if one goes directly to pdf, whether by pdftex or luatex,
so that is what the TeX file prescribes. Let's look at it (full file attached).

% Bar count 3
\setdoublebar
\xbar\addspace{-\afterruleskip}\generalsignature{-1}%
\zchangecontext\addspace{-.5\afterruleskip}%
\pnotes{5.66}\wh g\en%
% Bar count 4
\setdoublebar
\xbar\addspace{-\afterruleskip}\generalsignature{2}%
\advance\barno-1%
\xchangecontext\addspace{-\afterruleskip}\zstoppiece\PMXbarnotrue\contpiece%
\pnotes{5.66}\wh g\en%
% Bar count 5

So what you are doing, is:
(a) drawing a double bar
(b) drawing a single bar carefully kludged to be on top of it.

If one replaces the "xbar" after "Bar count 4" by "zbar", the artefact
disappears.

Why does the kludge not work in this case? There must be a tiny amount
of extra whitespace that upsets the calculation, so that the single
bar is not backspaced enough. Maybe either musixtex.tex of pmx.tex
misses
a trailing % somewhere and what you are seeing is the effect of spurious
glue.

Dirk

Attachment: junk.tex
Description: TeX document

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