[Tex/LaTex] changing the position of a caption


I have a code for putting a figure:

\caption{caption of the figure which can be pretty long}

The page format is single-column. Right now the caption appears below the image, as expected from this code. I would like to set it up so that the caption is on the right hand-side of the image. Is that possible?

Best Answer

You can use the floatrow package to do this.

  {\caption{A nice figure.}} 
  {\rule{4cm}{4cm}} %Replace with image

Which yields:

enter image description here

Related Question