TRANSFIG(1)
โจ TRANSFIG โจ
okay bestie, gather round, because transfig is about to make your LaTeX figure life SO much easier ๐
๐ธ NAME ๐ธ
transfig โ creates a makefile for portable LaTeX figures ๐
๐ฆ SYNOPSIS ๐ฆ
transfig [ -L language ] [ -M makefile ] [ -T texfile ] [ -I macrofile ]
[ -V ] [ control_specs figfile ... ]
๐ DESCRIPTION ๐
So here's the tea โ: transfig creates a makefile to translate figures described in Fig code or PIC into a specified LaTeX graphics language. Iconic behaviour, honestly.
- PIC files are identified by the suffix
.pic๐ - Fig files can be specified either with or without the suffix
.figโ she's flexible like that ๐โโ๏ธ
And bestie, that's not even all: transfig also creates a TeX macro file appropriate to the target language. Two things at once, main character energy fr fr ๐
โจ OPTIONS โจ
๐ The language specifier
The language specifier must be one of:
box, cgm, eepic, eepicemu, emf, epic, eps, ge, gif, ibmgl, jpeg, latex, map, mf, mmp, mp, pcx, pdf, pdftex, pdftex_t, pic, pictex, png, ppm, ps, psfig, pstex, pstex_t, ptk, sld, textyl, tiff, tk, tpic, xbm, xpm or null.
That's a whole alphabet of vibes, no cap ๐
psfigโ she's like thepsspecifier, except that it makes use of thepsfigmacro package ๐pstexโ she's likepsfig, except that it uses LaTeX to process formatted (special) text ๐คnullโ results in the figures being replaced by empty boxes of the appropriate size (yes, literally nothing, but make it sized ๐)- If no language is specified,
epicis the default โญ
๐ซถ Naming your files
The names of the makefile and TeX macro file can be set with the -M and -T options.
- The default names are
Makefileandtransfig.tex, respectively ๐ - If there is already an existing makefile in the directory,
transfigfirst renames it tomakefile~โ so nothing gets yeeted without a backup, we love a considerate queen ๐ - The same holds for any existing TeX macro file ๐
- If the
-Ioption is specified, then a command to read in macrofile is inserted into the TeX macro file ๐ฅ - If the
-Voption is specified, the program version number is printed only ๐
๐ Control specifiers
-mmag โ set the magnification at which the figure is rendered (default1.0) ๐-ffont โ set the default font family used for text objects (default"rm") โ๏ธ-sfontsize โ set the default font size (in points) for text objects (default11*mag) ๐-ooption โ pass the specified option string through tofig2dev๐
๐ง The little details
If there is no scaling, the default font is an eleven point roman font.
Language and control specifiers may occur more than once; they affect the translation of files which appear to their right in the argument list ๐ iykyk, order matters bestie.
If no files are specified, then "*.fig" is assumed ๐ธ
๐ SEE ALSO ๐
fig(l), fig2dev(l), pic(l), pic2fig(l), xfig(l)
go read those too, they're the extended universe ๐
๐ COPYRIGHT ๐
Copyright (C) 1985 Supoj Sutantavibul
Copyright (C) 1991 Micah Beck
Parts Copyright (C) 1991-2002 Brian Smith
THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
okay so that's the scary legal part ๐ญ it means: no warranty, they're not liable, periodt. Read it properly, bestie, it's giving very serious ๐
Any party obtaining a copy of these files is granted, free of charge, a full and unrestricted irrevocable, world-wide, paid up, royalty-free, nonexclusive right and license to deal in this software and documentation files (the "Software"), including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons who receive copies from any such party to do so, with the only requirement being that this copyright notice remain intact.
โจ Translation: do whatever you want with it, just keep this notice intact. That's the whole requirement. Slay.
๐ AUTHOR ๐
Micah Beck ๐
and that's the whole page bestie!! This is Version 3.2.4, from November 2002 โ an absolute vintage icon, and yes she still ate ๐โจ๐๐ฆ
๐ฆ where this page comes from
- alpine 3.24: fig2dev-doc 3.2.9a-r3 ยท Xfig
- arch rolling: fig2dev 3.2.9-2 ยท Xfig
- centos-stream 9: transfig 1:3.2.7b-11.el9 ยท MIT
- debian bookworm: fig2dev 1:3.2.8b-3+deb12u2 ยท xfig
- debian trixie: fig2dev 1:3.2.9a-4 ยท MIT~Xfig
- epel 10: transfig 1:3.2.9a^20250619.ee3f4d8-3.el10_2 ยท Xfig
- fedora 43: transfig 1:3.2.9a^20250619.ee3f4d8-3.fc43 ยท Xfig
- fedora 44: transfig 1:3.2.9a^20250619.ee3f4d8-8.fc44 ยท Xfig
- nixos 26.05: fig2dev 3.2.9a
- nixpkgs unstable: fig2dev 3.2.9a
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 ยท MIT
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 ยท MIT
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 ยท MIT
- opensuse-leap 16.0: transfig 3.2.9a-160000.2.2 ยท MIT
- ubuntu jammy: fig2dev 1:3.2.8b-1 ยท xfig
- ubuntu noble: fig2dev 1:3.2.9-3build2 ยท xfig
- ubuntu questing: fig2dev 1:3.2.9a-4
- ubuntu resolute: fig2dev 1:3.2.9a-5 ยท MIT~Xfig
- ubuntu stonking: fig2dev 1:3.2.9a-5 ยท MIT~Xfig
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms