[1410] in SIPB bug reports
LaTex and Tex in xfig
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Fri Nov 2 12:55:36 1990
Date: Fri, 2 Nov 90 12:55:00 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: kyrlidis@ATHENA.MIT.EDU
Cc: bug-sipb@ATHENA.MIT.EDU
In-Reply-To: kyrlidis@ATHENA.MIT.EDU's message of Thu, 18 Oct 90 14:38:46 EDT <9010181838.AA24142@M66-466-1.MIT.EDU>
From: kyrlidis@ATHENA.MIT.EDU
Date: Thu, 18 Oct 90 14:38:46 EDT
I would greatly appreciate it if you could tell me if it is
possible to incorporate equations written in Tex, or LaTex format
in a xfig drawing.
This would enable us to produce slides and transparencies directly
from Athena workstations, without having to use a Mac!
I noticed that you never got a response to this message, so I will
take a stab at it.
There really is no easy way to include TeX/LaTeX math equations in
an xfig drawing when you are initially doing the drawing.
However, if you feel like doing a little bit of work, here's what
you can do:
1. Do your drawing in xfig, leaving the area where you are going to
put the equations blank. Make sure to do this with latex line mode
enabled.
2. Run fig2latex (from the sipb locker) on your document to turn it
into a latex picture mode document.
3. Using picture mode inside your latex document, input the document
you created in (2) into a picture.
4. Using picture mode commands inside that same picture, position your
equations on top of the picture you loaded from xfig.
You'll have to do some playing around with dimensions to get the
equations in the right place, but since you're using picture mode
instead of postscript, you can display the whole thing inside xdvi, so
you won't be wasting paper.
For more information, see the section about latex in the xfig man
page, and the section about picture mode in the latex manual.
Please let me know if you have any questions about this.
--> Jonathan Kamens
Project Athena Watchmaker and User Consultant
Student Information Processing Board (SIPB) member
jik@Athena.MIT.EDU