LaTeX Tips
Work in Latex
- Now you are ready to include the EPS file into your tex file. I usually include epsfig package for this purpose. You may also use graphics package, but you'd better find some manual for the usage of the graphics package.
- \usepackage{epsfig}
- ...
- \begin{figure}[placement]
\centerline{\epsfig{file=filename}, scale=1} -
\caption{...}
\label{...}
\end{figure} - Note that the optional argument [placement] determines where LaTeX will try to place your figure. There are four places where LaTeX can possibly put a figure:
-
-
h Here - at the position in the text where the table environment appears.
-
t Top - at the top of a text page.
-
b Bottom - at the bottom of a text page.
-
p Page of floats - on a separate float page, which is a page containing no text, only floats.
-
- You may input the complete or relative pathname for the file field. In the field of scale, you may use positive values to adjust the figure size displayed in the Latex output. I show two examples for this tutorial, Example 1 and Example 2. The latter's Tex file can be found here.
Update 02-17-2006