TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So we do \includegraphics[scale=0.75]{myfig.eps} to get image on the page. But how to wrap it into border and make itassignable with some automated image number like image N label like image about...


So point is - How to get something like this: enter image description here?

share|improve this question
A LaTeX tutorial or a book like lshort might help you get better answers to this and maybe also some of your future questions. – Andrey Vihrov May 11 '11 at 16:29
it seems like what you're describing is a figure with a caption. You might find the figure environment and \caption command useful. – Matthew Leingang May 11 '11 at 16:31
What is a groder anyway? – Matthew Leingang May 11 '11 at 17:12
@Matthew: Might be a typo. In the text he says "into a border". The urban dictionary lists 'groder' but it doesn't make sense here. – Martin Scharrer May 11 '11 at 17:18
@Martin: Don't think I didn't check the Urban Dictionary. – Matthew Leingang May 11 '11 at 19:47
up vote 5 down vote accepted

This is a very basic question covered in every LaTeX beginner's guide. I recommend you to read such a guide if you haven't done it yet.

Use a figure environment

\caption{Some description of the picture}
share|improve this answer
The guide a read told me not to use the optional argument of figure by default :-) which IMHO is a bad habit from users migrating from Word. At least it was in my case ;-) – Martin Scharrer May 11 '11 at 17:00
@Martin: But the automatic placing isn't very good too. I prefer to leave out placement specifiers while developing a document, and then, after the text is written, fine-tune the positions where needed. But I agree !htb is rather aggressive — one should try t, b or p first. – Andrey Vihrov May 11 '11 at 17:09
@Andrey: The default specifier is stored in \fps@figure (and \fps@table) and can be changed globally by redefining this macro, which removes the need to always use the optional argument. – Martin Scharrer May 11 '11 at 17:12
1) does \includegraphics requirew any special \usepackage because apparantly my TeXworks app compiles it all but does not output an image into pdf=( – Kabumbus May 11 '11 at 17:39
@Kabumbus: It needs the graphicx package. But note that pdflatex doesn't support EPS images. It needs to be converted with e.g. epstopdf first. Some modern versions of pdflatex do this automatically if the -shell-escape option is enabled. – Martin Scharrer May 11 '11 at 18:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.