Difference between revisions of "Diagrams with xfig"

From String Theory Wiki
Jump to navigation Jump to search
(LaTeX tips)
Line 23: Line 23:

[http://www.xfig.org/userman/ xfig user manual]
[http://www.xfig.org/userman/ xfig user manual]
[http://www.math.uiuc.edu/~hildebr/tex/basics.html LaTeX Tips] has more information on including figures

Latest revision as of 16:36, 28 May 2007

xfig allows you to intuitively draw maths diagrams and output them as encapsulated Postscript (EPS) files for inclusion in LaTeX documents.

In xfig keep an eye on the top right of the window because it tells you what the buttons on the mouse do for the particular mode you're in.

including diagrams in your LaTeX document

Once you have exported your diagram as an EPS file you now want to include it in a LaTeX document. You must use the graphicx package by including at the top of the LaTeX file


Include the figure torus.eps at the point of your choosing with

\caption{ The torus } \label{fig:torus}

To resize the figure use \resizebox{!}{4.5in}{\includegraphics{torus.eps}} and to rotate it use \rotatebox{270}{\includegraphics{torus.eps}}.


xfig website

xfig user manual

LaTeX Tips has more information on including figures