venkateshwarr
asked on
Urgent: Latex question
Hi,
I have prepared a latex document in which I inserted a figure as..
\begin{figure}[ht]
\centerline{\psfig{file=fi gs/test.ep s,height=1 2cm}}
\caption{\small Test.} \label{fig:test}
\end{figure}
But when I compile this, I get the figure, but I also get a small icon like figure on the top left corner of the page.
How can I fix this?
Also how do I cite a picture. I am doing in the following way but I am getting error "! Undefined control sequence."
\begin{figure}[ht]
\centerline{\psfig{file=fi gs/test.ep s,height=8 cm}}
\caption{\small test~\cite{test}.}
\label{fig:tes}
\end{figure}
I need this urgently I can increase the point if you give me a good solution
Thanks
venkat.
I have prepared a latex document in which I inserted a figure as..
\begin{figure}[ht]
\centerline{\psfig{file=fi
\caption{\small Test.} \label{fig:test}
\end{figure}
But when I compile this, I get the figure, but I also get a small icon like figure on the top left corner of the page.
How can I fix this?
Also how do I cite a picture. I am doing in the following way but I am getting error "! Undefined control sequence."
\begin{figure}[ht]
\centerline{\psfig{file=fi
\caption{\small test~\cite{test}.}
\label{fig:tes}
\end{figure}
I need this urgently I can increase the point if you give me a good solution
Thanks
venkat.
I have not used Latex for more than 10 years now.
Do you have to summit your report in Latex format or just use LaTex to produce a postscript
doc?
If your final report is postscript, you can use MS Word to edit the doc, then use Adobe Acrobat
or Ghostscript/Ghostview (Free) to convert the Word DOC into postscript format.
http://www.cs.wisc.edu/~ghost/index.htm
If you have to write the doc in Latex, please read the sample codes in the following pages.
http://www.ucs.ed.ac.uk/usd/scisup/faq/Latex/figures.html
http://www-group.slac.stanford.edu/techpubs/help/figures/latex2efigs.html
http://www.hep.man.ac.uk/u/jenny/jcwdocs/latex/figures.html
http://www.iam.ubc.ca/~newbury/tex/figures.html
Good luck!
Do you have to summit your report in Latex format or just use LaTex to produce a postscript
doc?
If your final report is postscript, you can use MS Word to edit the doc, then use Adobe Acrobat
or Ghostscript/Ghostview (Free) to convert the Word DOC into postscript format.
http://www.cs.wisc.edu/~ghost/index.htm
If you have to write the doc in Latex, please read the sample codes in the following pages.
http://www.ucs.ed.ac.uk/usd/scisup/faq/Latex/figures.html
http://www-group.slac.stanford.edu/techpubs/help/figures/latex2efigs.html
http://www.hep.man.ac.uk/u/jenny/jcwdocs/latex/figures.html
http://www.iam.ubc.ca/~newbury/tex/figures.html
Good luck!
ASKER
Well Thanks lot a guys I found the solution myself. There was some problem with
the figure itself.
abhijit, I tried that way already...
yuzh, thanks for the links, but I want a latex document.
Anyway thanks for ur time.
venkat.
the figure itself.
abhijit, I tried that way already...
yuzh, thanks for the links, but I want a latex document.
Anyway thanks for ur time.
venkat.
ASKER
If u guys dont have any problem, I request the moderator to close this question.
venkat.
Please post your Solution and ask CS to PAQ/refund.
ASKER
The eps files generated on windows is not always compatable with
latex file generated on unix.
venkat.
latex file generated on unix.
venkat.
True!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
\begin{figure}[h]
\begin{center}
\includegraphics[scale=0.6
\caption{Running time vs. Problem size}
\label{graph}
\end{center}
\end{figure}
later when you need to cite you use
....This can also be seen from the graph (Fig \ref{graph}).
modify this to suit your needs
abhijit