Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Urgent: Latex question

Posted on 2004-11-29
9
Medium Priority
?
334 Views
Last Modified: 2010-04-21
Hi,

I have prepared a latex document in which I inserted a figure as..

\begin{figure}[ht]
\centerline{\psfig{file=figs/test.eps,height=12cm}}
\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=figs/test.eps,height=8cm}}
\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.
0
Comment
Question by:venkateshwarr
8 Comments
 
LVL 11

Expert Comment

by:avizit
ID: 12702071
can you try this ( I am just pasting from my own latex file )


\begin{figure}[h]
\begin{center}
\includegraphics[scale=0.60]{fig.eps}
\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
0
 
LVL 38

Expert Comment

by:yuzh
ID: 12702408
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!

0
 
LVL 12

Author Comment

by:venkateshwarr
ID: 12707229
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.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 12

Author Comment

by:venkateshwarr
ID: 12707266

If u guys dont have any problem, I request the moderator to close this question.

venkat.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 12712040
Please post your Solution and ask CS to PAQ/refund.
0
 
LVL 12

Author Comment

by:venkateshwarr
ID: 12748407
The eps files generated on windows is not always compatable with
latex file generated on unix.

venkat.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 12750526
True!
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12924887
Closed, 500 points refunded.

modulo
Community Support Moderator
Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question