[tex-live] Place two \epsfboxes vertically centered next to each other

Andreas Scherer andreas_tex at freenet.de
Sat Jul 8 15:31:34 CEST 2017


Dear all,

the following problem has been brought to my attention by private
communication: In the CWEB example program 'skew-ternary-calc.w' by Don
Knuth
(https://github.com/ascherer/cwebtest/blob/master/skew-ternary-calc.w)
there are multiple occurrences of this construct:

$$\vcenter{\epsfbox{...}}\qquad\\qquad
  \vcenter{\epsfbox{...}}$$

where '...' are names of MetaPost graphics from 'skew-ternary-calc.mp'
(https://github.com/ascherer/cwebtest/blob/master/skew-ternary-calc.mp).

Running 'for i in skew-ternary-calc; do mpost $i; cweave $i; tex $i;
dvipdfm $i; done' produces extreeemely 'overful boxes' and results in a
PDF with several displays where the right-hand graphic is outside the
page frame.

Adding '\hbox{...}' around almost all the '\epsfbox{...}'es seems to fix
this problem.

A simple $$\vcenter{\epsfbox{...}}$$ works fine, but as soon as some
other material comes alongside the '\epsfbox{...}' all hell breaks loose.

Any ideas what's going on here?

Thanks, Andreas


More information about the tex-live mailing list