Considering the below code, I am trying to put two figures side by side in a minipage by two separated captions. The problem that I am facing is that the captions have overlaps (caption of figure at right side covers the one at the left one if the caption is longer than few words.). If i use the default spacing, figures overlap too. To prevent captions and figures to overlap, I have tried to make space between figures but it will exceed the page length and will not be an ultimate solution for long captions. These are besides the fact that figures are not aligned.
\documentclass[smallextended]{svjour3}
\usepackage{graphicx}
\begin{document}
\begin{figure*}[!htb]
\centering
\begin{minipage}{0.5\textwidth}
\centering
\includegraphics[scale=0.35]{sample.jpg}
\caption{This is a caption} \label{this is a label}
\end{minipage}%
\begin{minipage}{0.8\textwidth}
\centering
\includegraphics[scale=0.35]{sample2.jpg}
\caption{caption 2.} \label{label 2}
\end{minipage}
\end{figure*}
\end{document}
Consequently, I welcome any contra active solution!
minipage
s is bigger than text width ... please extend your code snipet to complete small document, which we can test. please help us to help you! – Zarko Nov 29 '18 at 15:16article
, assuming that your document has two columns, i can't confirm your findings. there is not overlap of captions, however image is spill out of page because your mini pages is to wide. can you show image of your result? first try correct widths of yourminipage
s ... – Zarko Nov 29 '18 at 15:30