Packages   caption   cleveref   graphicx   hvfloat   sidecap   subcaption   tikz   wrapfig

The sidecap Package

Documentation sidecap
Categories figures

The sidecap package allows you place the caption for a figure or table on either the left side or the right side. See also hvfloat.

  \caption{The dependence of stopping condition on steps in a two-dimensional random
  walk as a function of the total number of steps taken
  before encountering an overlap of atoms or bonds.}


The first optional parameter ([5] in the example) describes the space to reserve for the caption. A large value (e.g., 50) reserves the maximum width that is possible.