TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 have a image that I want to include in my thesis. It's long, so I have to rotate it, however when I do this the caption remains at the bottom of the page. How can I make the caption go to the side of the page, so it's under the image still?

share|improve this question

You can use the rotating package; here's a little example (I used the demo option for graphicx just to make my example compilable for everyone; don't include that option in your actual document)



  \caption{a rotated figure.}


Another option would be to use the hvfloat package:



  {a rotated figure.}{fig:test}

share|improve this answer
I tried this and the entire page was rotated... – user4600 Apr 2 '11 at 17:56
@devin: I added another solution. I don't understand your comment; such a non descriptive message is not useful. Was my solution useful for you or not? If not, why? Which was the result you were expecting? – Gonzalo Medina Apr 2 '11 at 18:12
The hvfloat solution works perfectly for me. What I meant with the first comment was that I tried the sidewaysfigure technique and it rotated not only the image but the entire page. So in my pdf view all my pages were portrait except the one with the image on it, which was landscape. – user4600 Apr 2 '11 at 20:58
@devin: then, if you want to, you can accept my answer using the green check mark to the left. – Gonzalo Medina Apr 2 '11 at 21:06

Your Answer


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