TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

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

share|improve this question
up vote 19 down vote accepted

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}

share|improve this answer
great, thanks! :) – Marin Jan 11 '11 at 19:59
This doesn't work in beamer, any suggestions? – adrin May 26 '14 at 18:33

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.