I need to have different caption format for figures and for tables. Captions for figures have to be centered and captions for tables – left aligned. How to define this?
[Tex/LaTex] Different caption styles for figures and for tables
captionshorizontal alignment
Best Answer
Use the
caption
package and itsjustification=raggedright
option. If desired, addsinglelinecheck=false
to make sure that single-line captions are also typeset raggedright.