.TH transfig "" "" "X Application"
.PC "Create a Makefile for portable LaTeX figures"
.fi
\fBtransfig
[\-L \fIlanguage\^\fB]
[\-M \fIMakefile\^\fB]
[\-T \fItexfile\^\fB]
[\fIcontrol_specs figfile ... ] ...]\fR
.PP
.B transfig
creates a
.B Makefile
to translate figures described in
.B Fig
code (as generated by
.BR xfig ),
PostScript, or PIC into a specified LaTeX graphics \fIlanguage\fR.
PostScript and PIC files are identified by the suffixes
.B .ps
and
.BR .pic ,
respectively;
.B Fig
files do not have a magic suffix, although by custom they are given the suffix
.BR .fig .
.B transfig
also writes a TeX macro file appropriate to the target language.
.SH "Command-line Options"
The option
.I language
must be one of the following:
.BR epic ,
.BR eepic ,
.BR eepicemu ,
.BR latex ,
.BR pictex ,
.BR ps ,
.BR psfig ,
.BR pstex ,
.BR textyl ,
.BR tpic ,
or
.BR null .
.PP
The specifier
.B psfig
resembles the specifier
.BR ps ,
except that it uses the
.B psfig
macro package.
.PP
The specifier
.B pstex
resembles the specifier
.BR psfig ,
except that it uses LaTeX to process formatted (special) text.
.PP
The specifier
.B null
replaces figures with empty boxes of the appropriate size.
.PP
If no language is specified, the default language is
.BR epic .
.PP
To set the names of the
.B Makefile
and TeX macro file, use the options
.B \-M
and
.BR \-T ,
respectively.
The default names are
.B Makefile
and
.BR transfig.tex .
.PP
You can also set the following control specifiers on
.BR transfig 's
command line:
.IP "\fB\-m \fIratio\fR"
Render the figure at
.I ratio
of its original size.
The default ratio is 1.0.
.IP "\fB\-f \fIfont\fR"
Set text objects
using the font family
.IR font .
The default is
.BR cmr .
.IP "\fB\-s \fIpoints\fR"
Size text objects to
.IR points .
The default is 11\(mu\fImag\fR.
.PP
If there is no scaling, the default font is
.BR \eelvrm .
Language and control specifiers may occur more than once;
they affect the translation of files that appears to their
right in the argument list.
If you name no files on the command line, then
.B transfig
assumes
.BR *.fig .
.SH "See Also"
.B
fig2dev,
fig2ps2tex,
pic2fig,
xfig
.R
.SH Notes
As of this writing (March 1994), TeX has not been
implemented on the \*(CO system.
However, the output of this command can be downloaded to another
system upon which TeX has been implemented.
.PP
.II "Beck, Micah"
This command was written by
Micah Beck of Cornell University (beck@svax.cs.cornell.edu).
