I want to place two (or more) figures with side by side. The figures are independent, so need separate captions, with no overall caption for the two. I know how to do this with minipages within a figure environment. But the captions don't line up without trail and error \vspace
's before the individual captions. Is there a way to line up the captions automatically?
[Tex/LaTex] Line up captions on side by side figures
captionsfloatsvertical alignment
Best Answer
You could use the optional argument
b
to theminipage
environments to align the images at their bottom, this way the caption would be side by side. At least you did'nt say if you want the images aligned in another way. Though, a common baseline at their bottom would be good, especially as their captions are aligned.Here's an example using the
caption
package:Output:
Using the tiny
capt-of
package would be sufficient. The\captionof
command is important. As you can see, the numbering of the subfigures matches the numbering of normal figures.