MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: eps mathematica fonts/latex

  • To: mathgroup at
  • Subject: [mg12945] Re: [mg12938] eps mathematica fonts/latex
  • From: Ross Moore <ross at>
  • Date: Sun, 28 Jun 1998 02:51:40 -0400
  • Sender: owner-wri-mathgroup at

At 3:44 AM -0400 24/6/98, Vladimir Z. Nuri wrote:
>I wonder if anyone has experience getting mathematica 3.0 fonts into an
>eps file suitable for inclusion into  latex2e.  (I found a fix on
>wolfram's site to handle the incorrect eps bounding box problem with
>3.0 ps header file.) I managed to get the eps files included all right
>into the latex2e file, but the special mathematical characters are
>ideally I'd like to use some special mathematical characters in the eps
>file. they need to be embedded in the eps because it'll go into the
>latex file. hence I can't use their supposed "fix" given on the web
>site that downloads the fonts to the printer (i.e. doesn't put them in
>the eps file).

No. There is a much better way to do it than this:

 1.  Do not put *any* font-characters inside the Mathematica picture.

 2.  Load the Xy-pic macros with your latex document.

 3.  Use the  xyimport  extension to import the .eps file, and add
	annotations above/below/around/inside/across/... the imported image.
	You will be using exactly the same fonts as in the surrounding text,
	at whatever sizes you can choose within LaTeX.
	(In fact Xy-pic lets you scale arbitrarily, and do a lot more than

You can get Xy-pic from the CTAN archives. It is described in ''The
LaTeX Graphics Companion'' Addison--Wesley, and its own extensive
reference manual, or:

The particular technique of using  \xyimport  is described in
  TUGboat (Communications of the TeX Users Group), vol 18, #3 p.159--163
 with an example from Mathematica on p.162 .

>ideally either mathematica would define the symbols it needs in the epsf
>file, or maybe someone has a slick utility that will add to the inside
>of an epsf file the nonstandard fonts that are used  in it? that would
>be pretty neat.
>I suppose I could use that utility (forget the name) that puts LaTeX
>fonts into the eps figure (that will be what I do next probably) but it
>would be a bit of a letdown.

That approach cannot possibly give you decent typesetting.

>unfortunately the whole mathematica font files take up 700k or so so
>putting the whole thing into each eps is unweildy.

 ...and unnecessary,
 ... and wrong anyway, since they will not match the fonts you use
within the rest of the LaTeX document.

Hope this helps,

	Ross Moore

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ross
Moore                             email: ross at
Mathematics Department                 phone:      +612 9850 8955
Macquarie University                     fax:      +612 9850 8114
Sydney, NSW 2109                      office:             E7A-419
Australia              WWW:


for the best in (La)TeX-nical typesetting and Web page production join
the  TeX Users Group (TUG) --- browse at

                 <ross.moore at>

  • Prev by Date: Dynamic Visualizer press release
  • Next by Date: Re: Numerical Determinants
  • Previous by thread: eps mathematica fonts/latex
  • Next by thread: Re: eps mathematica fonts/latex