# Figure caption indent problem

The last lines of my `figure` captions are indented too much or centered. I use `floatrow` package which usually doesn't conflict with LaTeX. Is it possible to fix this?

My preambles are as follows:

``````\usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up,indention=.5cm,labelsep=period,justification=centerlast]{caption}
\usepackage{floatrow}
\floatsetup[table]{capposition=top}
\usepackage{caption}
\DeclareCaptionFormat{myformat}{#1#2#3\hrulefill}
\captionsetup[figure]{format=myformat}
``````
-
Minimal example, please: meta.tex.stackexchange.com/questions/228/… –  Joseph Wright Apr 19 '11 at 16:11
With "with the TeX package" you mean LaTeX itself, don't you? –  Martin Scharrer Apr 19 '11 at 16:13
@Martin, yes LaTeX –  BrettHarry Apr 19 '11 at 16:14
@BrettHarry: Guess what the option `justification=centerlast` does. –  lockstep Apr 19 '11 at 17:08
If you indent lines by 4 spaces, then they are marked as a code sample. You can also highlight the code and click the "code" button (with "101010" on it). –  Caramdir Apr 19 '11 at 17:10

Remove the `justification=centerlast` option from the `caption` package.