| ← Previous | ↑ Home | ↑ Programs | → Next |
Fig2lat converts Fig drawings created in XFig, jFig or WinFIG to vector graphics formats used in LaTeX/pdfLaTeX environments.
To produce a PDF+TeX file pair (x.pdf and x.tex) from the x.fig file:
fig2lat -l pdf.tex x.fig
To include the image in a LaTeX document you want to process with pdflatex:
\begin{figure}%
{\centering%
\input{x.tex}\caption{My image}\label{fig:my-image}%
}%
\end{figure}
To produce a EPS+TeX file pair (x.eps and x.tex) from the x.fig file:
fig2lat -l eps.tex x.fig
To include the image in a LaTeX document you want to process with LaTeX/dvixxx
\begin{figure}%
{\centering%
\input{x.tex}\caption{My image}\label{fig:my-image}%
}%
\end{figure}
To produce a PGF file x.pgf from the x.fig file:
fig2lat -l pgf x.fig
To include the image in a LaTeX document:
\begin{figure}%
{\centering%
\input{x.pgf}\caption{My image}\label{fig:my-image}%
}%
\end{figure}
To produce a standalone PDF file x.pdf from the x.fig file:
fig2lat -l tex x.fig
pdflatex x
Alternatively you can use
fig2lat -l tex.pdf x.fig
pdflatex x
instead.
The [gxhints:wiki:Home] page shows how to convert from fig to eps, pdf, svg, png, jpeg, ico, and xpm.
See the [fig2lat manual] for the full documentation.
| ← Previous | ↑ Home | ↑ Programs | → Next |
Wiki: Home
Wiki: fig2lat manual
gxhints - Graphics conversion hints: Wiki: Home