[texhax] ieee figure (urgent)

Jing Zhang jingz002000 at yahoo.com
Sat Nov 22 03:25:10 CET 2003


Hi, 
 
In order to the document in ieee template to include a figure, I write my filename.tex as:

\documentclass[12pt,psfig]{article}

\usepackage{latexsym}
\usepackage{graphicx}

\begin{document}

\begin{figure}[htbp]
\centering
\includegraphics[height=1.05in]{fD1.eps}
\caption{Test.}
\label{Test.fig}
\end{figure}

\end{document}

Besides, I add 

\usepackage{ieeefig} as part of the preamble. 

Then, in the body of documentation, I add

\begin{figure}
\figdef[dim]{fD1}
\caption{This figure...}
\label{fig:fD1} 

\end{figure}

But the latex command doesn't work when it goes to \figdef[dim]{fD1}. 

The error message is

! LaTeX Error: Can be used only in preamble.
--------------------------------------------------------------------------------------
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
... 

l.1 \documentclass
[12pt,psfig]{article}
? 

-------------------------------------------------------------------------------------

Could anybody kindly help me to fix it? I need to finish my work.

I will appreciate your help.

Jing




---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20031121/203ce3e0/attachment.htm


More information about the texhax mailing list