[Tex/LaTex] Multiline figure caption centering

captionshorizontal alignment

How to center a figure caption that's too long for a single line? Or at least, make the text in other lines line-up with text after "Slika 1:". It currently looks like this alt text

Best Answer

Use the caption package.


\usepackage[justification=centering]{caption}% or e.g. [format=hang]


\caption{This caption is very long---in fact, it is so long that it doesn't fit on one line}

Related Question