I'm trying to match the formatting between a word document and latex document. In the word doc, captions have the caption label at the left margin, the label separator is effectively a tab character with a tab stop at 2cm, and then the caption text is formatted with a hanging indent at 2cm from the left margin.

This results in all of the blocks of caption text lining up down the page. enter image description here

I can't work out how to replicate this in LaTeX. enter image description here

The hang caption format gets close, but it sets the hanging indent relative to the caption label. Is there anyway to set an absolute value?

  • 1
    Easily done with the caption package. But we don't know what you're using, so I hesitate to answer. Please provide a minimal example (or see here).
    – jon
    Nov 20, 2015 at 4:03

2 Answers 2


Something like this?


% Create a length
% Set length as wanted

% caption.sty allows us to create our own format
% note: this version assumes the caption is only one paragraph!

\captionsetup{format=hangit, singlelinecheck=no,
labelfont=sf, % if you want the label a different font, etc.

\def\dummytext{A figure or table caption mainly consists of three
  parts: the caption label, which says if this object is a ‘Figure’ or
  ‘Table’ and what number is associated with it, the caption text
  itself, which is normally a short description of contents, and the
  caption separator which separates the text from the label.}






  % \begin{tabular}{ll}
  %   one & two\\
  % \end{tabular}



This sets up a 1in margin.


\DeclareCaptionFormat{myformat}{\makebox[1in][l]{#1#2}\parbox[t]{\dimexpr \textwidth-1in}{#3}}





enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .