fig2dev(1) General Commands Manual fig2dev(1) (NAME) fig2dev - Fig (SYNOPSIS) fig2dev [-L language] [-m mag] [-s fsize] [-Z maxdimension] [-D +/-rangelist [-K]] [ ] [fig-file [out-file]] fig2dev -h|-V (DESCRIPTION) fig2dev fig fig-file language out-file . out-file -L . fig-file out-file . (-) fig-file out-file . Xfig ( - Facility for Interactive Generation of figures) X Window System . fig2dev 1.3 1.4 2.0 2.1 3.0 3.1 3.2 xfig . 3.2.3 Xfig () Fig . PostScript CGM EMF LaTeX MetaFont PicTeX ( %) tk ( #) pic ( .\"). ( ) (GENERAL OPTIONS (all drivers)) -L language . : box, cgm, dxf, epic, eepic, eepicemu, emf, eps, gbx (Gerber beta driver), gif, ibmgl, jpeg, latex, map (HTML image map), mf (MetaFont), mp (MetaPost), pcx, pdf, pdftex, pdftex_t, pic, pict2e, pictex, png, ppm, ps, pstex, pstex_t, pstricks, ptk (Perl/tk), shape (LaTeX shaped paragraphs), sld (AutoCad slide format), svg, textyl, tiff, tikz, tk (tcl/tk), tpic, xbm and xpm. : pdf ghostscript (png jpeg ) ghostscript netpbm ImageMagick GraphicsMagick . -h . -V . -D +/-rangelist +rangelist (depths) . -rangelist . (rangelist) (:) . -D +10,40,55:70,80 . -K -D +/-rangelist (bounding box) . . -K . -E encoding (character encoding) . `iconv --list` ISO-8859-1 UTF-8. (locale) . . -G minor[:major][:unit] (grid) . . -G .25:1cm . -G 1in . -G :1/2in / . : i in inch f ft feet c cm mm m. PostScript EPS PDF pstricks tikz (GIF JPEG ) . -m mag mag . 1.0 . (-Z) . -s fsize ( / ) fsize . 11*mag -m . Roman . -Z maxdimension ( ) maxdimension . (-m) . language ..SH " (OPTIONS COMMON TO ALL BITMAP FORMATS)" -b borderwidth borderwidth (/ ). -F ( / ) xfig/fig2dev / . xfig -correct_font_size. -g color color . -N (grayscale). -S smoothfactor smoothfactor ghostscript -dTextAlphaBits -dGraphicsAlphaBits . smoothfactor . GIF (GIF OPTIONS) -t color color GIF. ppmmake(1) . X11 RGB # #ff0000 (). JPEG (JPEG OPTIONS) -q image_quality image_quality <<>> (Quality) JPEG. . CGM (CGM OPTIONS) CGM Computer Graphics Metafile ISO ANSI . Microsoft WORD PowerPoint EPS ASCII . -a . -r CGM . fig2dev . -r ..SH " DXF (DXF OPTIONS)" DXF (Drawing Interchange File Format) . DXF . -P (portrait) . (landscape) . EMF (EMF OPTIONS) EMF Enhanced Metafile () . Microsoft WORD PowerPoint EPS ASCII . -l lang lang lang win95 win98 winnt . winnt . -r EMF . -r CGM . EPIC (EPIC OPTIONS) EPIC LaTeX . EEPIC EPIC LaTeX tpic . Conrad Kwok . Conrad Kwok EEPIC fig2dev . EEPIC-EMU EEPIC tpic . EPIC/EEPIC LaTeX "\usepackage{epic,eepic}" (preamble) . -d factor factor . . EPIC TeX . -F baselineskip . fig2dev . LaTeX . LaTeX . LaTeX -F . -f font font font rm bf it sf tt . rm . -l lwidth lwidth "\thicklines" . 2 . -P LaTeX . . -R dummyarg . \rotatebox . "\usepackage{graphics}" LaTeX . -R . . -S scale . magnification fsize scale/12 scale . scale 8 12 ( ) . -t stretch stretch . 30 . -v () . -W . : ("\thinlines") ("\thicklines"). -l . -w . "\thicklines" / "\thinlines" . LineThick "\thinlines" . "\thinlines" 0.4pt Fig 1/80 ( 1pt) . LineThick 2 0.4pt 2pt . LineThick 1 "\thinlines" 0 . (-w)..SH " IBM-GL (HP/GL) (IBM-GL (HP/GL) OPTIONS)" IBM-GL ( IBM) HP-GL ( Hewlett- Packard) . -a ANSI A ISO A4. -c IBM 6180 IBM (IBM-GEC). -d xll,yll,xur,yur (xll,yll) (xur,yur) . -d -- xll,yll,xur,yur -- . -f fontfile fontfile. -- . : .) (0 - 4, 6 - 9, 30 - 39) .) (0 - 4, 6 - 9, 30 - 39) .) ( ) .) .) . -k PCL HP/GL. -l pattfile pattfile -- . : .) (-1 - 6) .) ( ) .) (1 - 5) .) ( ) .) ( ). -P (portrait). (landscape) . -p penfile penfile -- . : .) (1 - 8) .) ( ). -S speed speed ( ). -v . . -x offset offset . -y offset offset . Fig2dev ANSI A ISO A4 . -a . Fig2dev (closed splines) . IBM-GEC . Fig2dev IBM-GEC . -c ..SH " LATEX (LATEX OPTIONS)" LaTeX Fig . . (spline) . Fig2latex . -b borderwidth borderwidth (/ ) . -d dmag dmag . -F (face) (series) (style) baselineskip . fig2dev . LaTeX . LaTeX . LaTeX -F . -f font font font rm bf it sf tt . rm . -l lwidth LaTeX lwidth . LaTeX : \thinlines \thicklines. lwidth \thicklines . . . -v (verbose). . MAP ( HTML) (MAP (HTML image map) OPTIONS) Xfig .. () Fig . map fig2dev Fig href="some_html_reference" HTML . Fig (compound objects) . map PNG . xfig href="go_here.html" href="go_away.html" . "go_here.html" "go_away.html" . map fig2dev . -b borderwidth borderwidth (/ ) . METAFONT (METAFONT OPTIONS) Fig2dev METAFONT / . -m mf . METAFONT mfpic mf . mfpic CTAN graphics/mfpic . -C code METAFONT . . -n name . -p pen_magnification . . -t top . ypos . -x xmin x ( ) . . -y ymin y ( ) . . -X xmax x ( ) . . -Y ymax y ( ) . ..SH " METAPOST (METAPOST OPTIONS)" -d file . -i file \input . -M . -o ( latex). -p number <> . PIC (PIC OPTIONS) -f font font font R () B () I () H ( ) C () . R . -p ext PIC groff DWB PIC . : arc ARC_BOX line 'line_thickness' fill all psfont PostScript ( Ditroff PS ). DWB. allps ( "all" + "psfont") PICT2E (PICT2E OPTIONS) PICT2E picture LaTeX . <<\usepackage{pict2e}>> . <<\usepackage{color}>> <<\usepackage{graphics}>> . PICT2E LaTeX LaTeX + dvips LaTeX + dvipdfm pdflatex xelatex ConTeX . (Pattern fills) PICT2E . PICT2E . PICT2E LaTeX PostScript . TeX PostScript . -b borderwidth borderwidth*(1/72) . -C num \color num (0 = 1 = 2 = - Xfig ). fig2dev xfig "Default" \color . "\color" num . "Default" LaTeX . -C 0 . xfig . fig2dev "\color{black}" color . . -e epic/eepic . <<\usepackage{pict2e, epic, eepic}>> ( !) LaTeX epic/eepic PICT2E . epic eepic PICT2E . fig2dev "\circle" "\oval" epic "\circlearc" pict2e . "\linethickness" eepic "\allinethickness" ( ) . -F . fig2dev baselineskip . LaTeX <<\itshape \input{fig1.pict2e}>>. -o ( ) . -f font font . font rm bf it sf tt \rmfamily \bfseries \itshape \sffamily \ttfamily PostScript . \rmfamily . -i dir dir pict2e . "image.jpg" xfig -i '$HOME/Figures/' "\incudegraphics{$HOME/Figures/image.jpg}" . -o baselineskip . pict2e LaTeX <<\small \input{fig1.pict2e}>>. -F ( ) . -O TeX/LaTeX . x $x$ "TeX" xfig . "TeX" . -P (Pagemode) LaTeX out-file . LaTeX (bounding box) ( -b ). LaTeX "geometry.sty" . -R num num LaTeX ("\vector") . ("Arrow Type" xfig) xfig . \vector LaTeX -R 3 . -r LaTeX . -T TeX PostScript . -v (Verbose). . -w . fig2dev <<\includegraphics{fig1}>> <<\includegraphics{fig1.eps}>>..SH " PICTEX (PICTEX OPTIONS)" PiCTeX PiCTeX . PiCTeX TeX . PiCTeX psymbol \put TeX DVI . TeX . PiCTeX . -f font font font rm bf it sf tt . rm . -l dimen dimen. "1pt" . -p psymbol (psymbol). "\makebox(0,0)[l]{\tencirc\symbol{'160}}" . -r . PiCTeX dvips . GBX (Gerber, RS-247-X) (GBX OPTIONS (Gerber, RS-247-X)) y -1 . -g . -d [mm|in] (mm) (in) . . -p [pos|neg] . fig . fig . . fig 'neg' . -g x++ . y -1 x . Gerber - xfig - . -f . . -f 5.3 12345678 12345.678 . -f 3.5 123.45678 . . 0 1 10 . -v . ## . POSTSCRIPT ENCAPSULATED POSTSCRIPT (EPS) PDF (POSTSCRIPT, ENCAPSULATED POSTSCRIPT (EPS), and PDF OPTIONS) PostScript xfig . -M . -O . . EPS PostScript : o showpage o / (landscape/portrait) o o o o x/y EPS : -B 'Wx [Wy X0 Y0]' (bounding box) EPS Wx Wy . . 0 Wx Wy / . (0,0) (-) . Wx Wy X0 Y0 fig-file . -B (") (') . -R 'Wx [Wy X0 Y0]' -B X0 Y0 - . -R (") (') . -P ( pagemode) PDF PostScript . PDF -z . -P PDF ( -b) EPS . ISO 0x7f . ISO . : Fig PostScript . : . . FORMAT3.2 xfig . . . <<>> (shade) <<>> (tint) + . (crosshatch) . -A ASCII (EPSI). PDF . -b borderwidth borderwidth (1/72 ). -C dummy_arg TIFF ** . -T ( ) . (dummy) . PDF . -c . fig_file ..TP -e ( ). EPS . -F ( / ) xfig/fig2dev / . xfig -correct_font_size. -f font font font PostScript . Times-Roman . -g color color . -j . LC_CTYPE ja_JP.eucJP ja_JP.EUC ja_JP ja_JP.ujis ja japanese ko_KR.eucKR ko_KR.EUC ko_KR ko korean fig2dev PostScript fig2dev/i18n . Times-Roman Ryumin-Light- EUC-H HeiseiMin-W3-EUC-H Times-Bold GothicBBB-Medium-EUC-H . Times-Roman Munhwa-Regular- KSC-EUC-H HLaTeX-Myoungjo-Regular-KSC-EUC-H . Times-Bold MunhwaGothic-Bold-KSC-EUC-H HLaTeX- Gothic-Regular-KSC-EUC-H . Ghostscript . -l dummy_arg (landscape). . ( . ) . EPS . -M . EPS . -N (grayscale). -n name (Title) PostScript name. fig2dev . -O -M . EPS . -p dummy_arg (portrait). . ( . ) . Fig . . EPS . -T TIFF ** (binary) . -C ( ) . PDF . -x offset X offset PostScript (/ ). . EPS . -y offset Y offset (/ ). . EPS . -z papersize . EPS . : Letter (8.5" x 11" A), Legal ( 11" x 14") Ledger ( 11" x 17"), Tabloid ( 17" x 11", Ledger ), A (8.5" x 11" Letter), B ( 11" x 17" Ledger), C ( 17" x 22"), D ( 22" x 34"), E ( 34" x 44"), A9 ( 37 mm x 52 mm), A8 ( 52 mm x 74 mm), A7 ( 74 mm x 105 mm), A6 (105 mm x 148 mm), A5 (148 mm x 210 mm), A4 (210 mm x 297 mm), A3 (297 mm x 420 mm), A2 (420 mm x 594 mm), A1 (594 mm x 841 mm), A0 (841 mm x1189 mm), B10 ( 32 mm x 45 mm), B9 ( 45 mm x 64 mm), B8 ( 64 mm x 91 mm), B7 ( 91 mm x 128 mm), B6 (128 mm x 182 mm), B5 (182 mm x 257 mm), B4 (257 mm x 364 mm), B3 (364 mm x 515 mm), B2 (515 mm x 728 mm), B1 (728 mm x1030 mm), B0 (1030mm x1456 mm). pstex pdftex ps <> . pstex_t pdftex_t : <> . PostScript PDF pstex/pdftex . PostScript LaTeX <> . pstex pdftex EPS . -n name Title PostScript name . fig2dev . PSTEX_T PDFTEX_T (PSTEX_T and PDFTEX_T OPTIONS) pstex_t pdftex_t <> PostScript PDF pstex pdftex ( ). -F (face) (series) (style) baselineskip . fig2dev . LaTeX . LaTeX ( <<\sfshape \input picture.eepic>>). -p file PostScript . PS . PSTricks (PSTricks OPTIONS) PSTricks LaTeX XFig ( PSTEX ) . PostScript LaTeX fig2dev Latex . LaTex . PSTricks . . XFig PSTricks . <<\usepackage{pstricks}>> (preamble) . graphicx pstricks-add (bitmap) / PSTricks ( -R 1) . . <<\input{pstfile}>> pstfile.tex . XFig TeX text LaTeX . TeX LaTeX epic . (Known bugs and limitations). PSTricks (join styles) . PostScript <<\pstVerb>> . -t . PSTricks rput . (hatch patterns) . . (flipped) graphicx : . Xfig . -p EPS bmeps TeX EPS bmeps gif . -f font font font rm bf it sf tt . rm . -G dummy_arg (grid) PSTricks PSTricks . -l weight Fig . 0.5 PS . -n 0|1|2|3 (environment) . 0 \picture (bounding box) ( -x -y ). 1 PSTricks \input{commands} \pspicture . 2 LaTeX . 3 LaTeX PSTricks ( ) . -P -n 3 . -p dir bmeps EPS ( PSTricks ) . dir ( ). ( ) ! . includegraphics . -p includegraphics ./eps . . bmeps TeX EPS : png jpg pnm tif. bmeps -v ..TP -R 0|1|2 (arrow) . 0 Fig . 1 Fig PSTricks PSTricks . pstricks- add . 2 PSTricks psset . -S scale EPIC scale/12 . -t version PSTricks LaTeX . -v . bmeps ( ) Fig . -x marginsize marginsize (bounding box) PStricks . . -y marginsize marginsize (bounding box) PStricks . . -z 0|1|2 . 0 Fig LaTeX . 1 LaTeX . 2 . TEXTYL (TEXTYL OPTIONS) -f font font font rm bf it sf tt . rm . -l lwidth . lwidth 1 12 . TIKZ (TIKZ OPTIONS) TIKZ Portable Graphics Format (PGF) TeX/LaTeX . TIKZ LaTeX "\usepackage{tikz}" "\usetikzlibrary{arrows.meta, bending}" "\usetikzlibrary{patterns}" (preamble) . \input TeX . TIKZ fig2dev plain TeX . -P LaTeX . LaTeX . -b borderwidth borderwidth*(1/72) . -C num \color num . (0 = 1 = 2 = - Xfig ). fig2dev xfig "Default" \color . "\color" num . "Default" . -F (font family) (series) (shape) . fig2dev baselineskip . New Font Selection Scheme (NFSS) LaTeX . ( TeX LaTeX ) . -o ( ) . -f font font . font rm bf it sf tt \rmfamily \bfseries \itshape \sffamily \ttfamily 35 PostScript . \rmfamily . -i dir dir tikz-picture . "image.jpg" xfig - i '$HOME/Figures/' "\pgfimage[width=..., height=...]{$HOME/Figures/image.jpg}" . -O TeX/LaTeX (quote) . x () $x$ "TeX" xfig . "TeX" . -o baselineskip . tikz : "\small\input fig1.tikz". -F ( ) . -P (Pagemode) LaTeX out-file . out-file LaTeX pdf eps . out-file ( -b ). "geometry.sty" out-file . -T TeX PostScript . -v (Verbose mode). () . -W TeX . "\newdimen\XFigwidth\XFigwidth=\linewidth" . -w . fig2dev "\pgfimage{fig1.pdf}" "\pgfimage{fig1}" ..SH " TK PTK (tcl/tk Perl/tk) (TK and PTK OPTIONS)" (Arc-boxes) tk canvas tk X bitmap . tk . tk (canvas) X () . -g color color . -l dummy_arg (landscape). (dummy) . ( 3.0 ). -p dummy_arg (portrait). . ( 3.0 ). Fig 2.1 . -P (canvas) (bounding box) . . -w perl. : fig2dev -L ptk -w f.fig f.pl; perl f.pl f.pl . ptk . -z papersize . POSTSCRIPT OPTIONS . -P ( ) . TPIC (TPIC OPTIONS) -f font font. rm . font : rm, bf, it, sf, tt, avant, avantcsc, avantd, avantdi, avanti, bookd, bookdi, bookl, booklcsc, bookli, chanc, cour, courb, courbi, couri, helv, helvb, helvbi, helvc, helvcb, helvcbi, helvci, helvcsc, helvi, pal, palb, palbi, palbu, palc, palcsc, pali, palsl, palu, palx, times, timesb, timesbi, timesc, timescsc, timesi, timessl timesx. (SEE ALSO) xfig(1), pic(1), pic2fig(1), transfig(1) (BUGS AND RESTRICTIONS) : thomas.loimer@tuwien.ac.at Copyright (c) 1991 Micah Beck Parts Copyright (c) 1985-1988 Supoj Sutantavibul Parts Copyright (c) 1989-2015 Brian V. Smith Parts Copyright (c) 2015-2018 by Thomas Loimer . . << >> . . . (AUTHORS) Micah Beck Cornell Frank Schmuck ( Cornell) Conrad Kwok ( U.C. Davis). Jose Alberto Fernandez R. ( Maryland) Gary Beihl (MCC) ISO Herbert Bauer (heb@regent.e-technik.tu-muenchen.de) f2p ( fig PIC) Fig Supoj Sutanthavibul (supoj@sally.utexas.edu) Texas Austin. MetaFont Anthony Starks (ajs@merck.com) X-splines Carole Blanc (blanc@labri.u-bordeaux.fr) Christophe Schlick (schlick@labri.u-bordeaux.fr) C. Feuille S. Grobois L. Maziere L. Minihot ( Bordeaux ) . LaTeX T. Sato (VEF00200@niftyserve.or.jp) tk Mike Markowski (mm@udel.edu) Brian Smith CGM (Computer Graphics Metafile) Philippe Bekaert (Philippe.Bekaert@cs.kuleuven.ac.be) EMF (Enhanced Metafile) Michael Schrick (m_schrick@hotmail.com) GBX (Gerber) Edward Grace (ej.grace@imperial.ac.uk). Version 3.2.9 Aug 2023 fig2dev(1)