Friday, May 05, 2006

Create Equations in xfig

If you want ALL of your figures to be started with special text and LaTeX fonts, you can set the following resources in your .Xresources or whatever resource file you use: Fig.latexfonts: true
\begin{figure}[htbp]
\begin{center}

\input{yourfigure.pstex_t}

\caption{Your figure}
\label{figure:example}
\end{center}
\end{figure}
N.B. You might want to edit the .pstex_t files created by xfig. When it refers to the other file (.pstex) it automatically gives the path specification to the .pstex file. This can be an inconvenience if you move your files to another directory because your LaTeX processing will fail.

Labels: