I'm having troubles with the subfigure package and proper alignment of figures. I'm inexperienced with Latex so please apologize obvious mistakes. The top-left figure is not properly aligned with the figures that follow below. It should be more to the left (please see attached screenshot). Shortened code:
\begin{figure}[h]
hfill
\subfigure[CEO fixed / total]{\includegraphics[width=8cm]{figures/scatter_cash_CapIQ_CEOfixed_to_total.png}}
\hfill
\subfigure[CEO bonus / total]{\includegraphics[width=8cm{figures/scatter_cash_CapIQ_CEObonus_to_total.png}}
\hfill
\subfigure[CEO long-term / total]{\includegraphics[width=8cm]{figures/scatter_cash_CapIQ_CEOlongterm_to_total.png}}
\hfill
\caption{Compensation measures}
\end{figure}
Best Answer
Try this solution.
How it works?
[c]
as position specifier. So, again, the figures remain vertically aligned in a row.\textwidth
(0.4 in this case. So, two side-by-side figures take 0.4 X 2 = 0.8 of your text width, leaving enough white space). Do not make them very large though, you will get overfull boxes.