Graphics, Figures & TablesFigure Caption Indentation

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
maltieca
Posts: 4
Joined: Sun Aug 15, 2021 5:58 pm

Figure Caption Indentation

Post by maltieca »

Hi all!

I have a normal figure in Latex and I would like to indent the caption in such a way that the text that comes after "Figure #.#:" is indented in this manner:
Image1.PNG
Image1.PNG (10.16 KiB) Viewed 6971 times
However when I use this code:

Code: Select all

\captionsetup[figure]{
  indention=6em
}
This also indents the subcaptions (a) and (b) and they look awkward:
Image2.PNG
Image2.PNG (82.07 KiB) Viewed 6971 times
How do I fix this darn thing? Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Figure Caption Indentation

Post by Bartman »

Try this

Code: Select all

\captionsetup[figure]{format=hang}
if you want the indentation to apply to the subcaptions as well.
maltieca
Posts: 4
Joined: Sun Aug 15, 2021 5:58 pm

Figure Caption Indentation

Post by maltieca »

Bartman, Thank you so much - you saved the day in my previous question and you save the day yet again in this one. Cheers!
Post Reply