Menu

FIG to LaTeX image

← TOC    ↑ Home    Fig TeX TeX PDF EPS SVG PNG JPEG ICO XPM

FIG to LaTeX image

This page shows how to convert a FIG file named x.fig into a LaTeX figure you can include into a LaTeX document.

If you want to convert the FIG file into a standalone *.tex file you can process using pdfLaTeX to create a standalone PDF file, see the [FIG to LaTeX document] page instead.


Choice 1: Use gxhconvert

Procedure

gxhconvert -o=tex x.fig

See the [gxhconvert manual] for a full description of the gxhconvert script.

Options

Option Purpose
--eps Create a EPS+TeX file pair for use with latex/dvixxx instead of the PDF+TeX file pair for use with pdflatex.
--pgf Use PGF instructions in the *.tex output file instead of creating a PDF+TeX or EPS+TeX file pair.
The options --eps and --pgf are mutually exclusive.

Choice 2: Manual procedure, use PDF+TeX combination

    fig2lat -l pdf.tex x.fig

Choice 3: Manual procedure, se PGF instructions

    fig2lat -l pgf x.fig
← TOC    ↑ Home    Fig TeX TeX PDF EPS SVG PNG JPEG ICO XPM

Related

Wiki: FIG to LaTeX document
Wiki: gxhconvert manual

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.