# Newline in a LaTeX subfigure caption

Just encountered: Do not use \\, use \newline. And then perhaps something like \hspace*{1.5em} in the new line to have both lines aligned to the (a) or (b).

1. travc says:

Thanks. Exactly the answer I needed.
1.8em looks about right using 12 point.

2. Ami says:

Great! just spent an hour on this…
As to centering, I had to add \hfill before and after in each line. Also used \captionsetup[subfigure]{labelformat=empty} to suppress the lavels (a), (b), …

3. H7 says:

Thanks 🙂