Hello,
The title is not self explaining, I'll try to do this.
My layout style require that table or figure captions stay centered only if short. If long, it needs that the caption be justified (like normal text, but less width).
In LaTeX, I know that this works on article document class, like the pdf file I attached shows.
--
Wagner Macedo