Re: latex and memory related
Shao Zhang <shao@cia.com.au> writes:
> Hi,
> I drew a simple box in xfig and used it to generated a latex file.
> Is this normal?? What is the recommanded way to export the stuff from xfig to latex??
>
> Thanks.
> Shao.
>
I export files from xfig in encapsulated postscript (eps) format, then
use the graphicx and psfrag packages to load and play with the fonts:
\documentclass[11pt]{article}
\usepackage{psfrag,graphicx}
\begin{document}
\psfrag{A}{$A^2$}
\psfrag{B}{$B_1$}
\includegraphics[scale=1.50]{quiz1.eps}
\end{document}
This replaces the letters "A" and "B" in the eps file with $A^2$ and
$B_1$, scales the graphic by 150%, and puts it in the document. Full
docs in
/usr/lib/texmf/doc/latex/graphics/epslatex.ps.gz
/usr/lib/texmf/doc/latex/psfrag/pfgguide.ps.gz
HTH,
Norris
--
Dr. Norris Preyer preyern@cofc.edu
Dept. of Physics and Astronomy (843) 953-7997 (voice)
College of Charleston (843) 953-4824 (fax)
Charleston, SC 29424 http://galaxy.cofc.edu/
Reply to: