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

I'd like to know how to position my LaTeX figure in the middle of the page.

However, I've written an abstract at the top of the page, so essentially, I'd like to position it in the center of the remaining space.

The abstract itself is only a few lines long, and after that I have the following:



which isn't quite right. I'd hugely appreciate any help and advice!

share|improve this question

migrated from stackoverflow.com Apr 17 '13 at 11:18

This question came from our site for professional and enthusiast programmers.

please provide more information, like the height of the image and what "isn't quite right" with your approach. in the best case add the complete source code! – Verena Haunschmid Apr 17 '13 at 9:56
and please add formatting to your code, I can't do it since an edit has to contain characters. – Verena Haunschmid Apr 17 '13 at 10:06
Sorry, I'm completely new to this. I've specified that the image is 5 inches wide, and it's more or less a square diagram. Can you please specify what you mean by 'adding formatting'? – Alice Chen Apr 17 '13 at 10:35
Welcome to TeX.sx! Your post was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Apr 17 '13 at 11:27
up vote 6 down vote accepted

I am not entirely sure I understand but if have understood correctly then perhaps this could be worth a try:



Lorem ipsum dolor sit amet\ldots

      \includegraphics [width=5 in] {diagrams/31.jpg}


Which looks like: enter image description here

Just remove the [demo] part to get the actual graphics.

share|improve this answer
hmm, that doesn't seemed to have made a difference. Is there a way to manually specify spacing between the top and bottom of the figure instead? – Alice Chen Apr 17 '13 at 12:03
@AliceChen those vfill are manually specifying the space. Please edit your question to have a complete (small) document that shows the problem. Use \rule{2cm}{1cm} or similar in your example instead of \includegraphics so that your example runs without needing extra graphic files. – David Carlisle Apr 17 '13 at 12:06
Edited to show complete example – jonalv Apr 17 '13 at 12:09

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.