http://www.stringwiki.org/w/index.php?title=Diagrams_with_xfig&feed=atom&action=historyDiagrams with xfig - Revision history2024-03-29T15:56:34ZRevision history for this page on the wikiMediaWiki 1.39.1http://www.stringwiki.org/w/index.php?title=Diagrams_with_xfig&diff=1914&oldid=prevTom: LaTeX tips2007-05-28T14:36:37Z<p>LaTeX tips</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:36, 28 May 2007</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l23">Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[http://www.xfig.org/userman/ xfig user manual]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[http://www.xfig.org/userman/ xfig user manual]</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[http://www.math.uiuc.edu/~hildebr/tex/basics.html LaTeX Tips] has more information on including figures</ins></div></td></tr>
</table>Tomhttp://www.stringwiki.org/w/index.php?title=Diagrams_with_xfig&diff=1913&oldid=prevTom at 14:34, 28 May 20072007-05-28T14:34:35Z<p></p>
<p><b>New page</b></p><div>[http://www.xfig.org/ xfig] allows you to intuitively draw maths diagrams and output them as encapsulated Postscript (EPS) files for inclusion in LaTeX documents.<br />
<br />
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.<br />
<br />
===including diagrams in your LaTeX document===<br />
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<br />
<pre><br />
\usepackage{graphicx}<br />
</pre><br />
Include the figure torus.eps at the point of your choosing with<br />
<pre><br />
\begin{figure}[t]<br />
\begin{center}<br />
\includegraphics[height=7cm,width=16cm]{torus}<br />
\caption{ The torus } \label{fig:torus}<br />
\end{center}<br />
\end{figure}<br />
</pre><br />
To resize the figure use \resizebox{!}{4.5in}{\includegraphics{torus.eps}} and to rotate it use \rotatebox{270}{\includegraphics{torus.eps}}.<br />
<br />
===links===<br />
[http://www.xfig.org/ xfig website]<br />
<br />
[http://www.xfig.org/userman/ xfig user manual]</div>Tom