3

I am trying to add some figures in a specific order as shown below but it didn't work, Any Ideas?

enter image description here My code:

\documentclass{article}

\usepackage{graphicx}

\begin{document}

\begin{figure*}
     \centering
     \subfloat[]{\includegraphics[width =\linewidth]{a.PNG}}
     \subfloat[]{\includegraphics[width =\linewidth]{b.PNG}}
     \subfloat[]{\includegraphics[width =\linewidth]{c.png}}
     \subfloat[]{\includegraphics[width =\linewidth]{d.png}}
     \subfloat[]{\includegraphics[width =\linewidth]{e.png}}
    \caption{main caption}
     \label{f1}
    \end{figure*}

\end{document}
  • please add a minimal working code \documentclass....\end{document} – touhami Jul 27 '15 at 4:24
  • @touhami thanks for your comment, I updated the code – SMH Jul 27 '15 at 4:27
3

Here is a solution

\documentclass{article}
\usepackage{subfig}
\usepackage{graphicx}
\begin{document}
\begin{figure*}
 \centering
 \subfloat[]{\includegraphics[width =\linewidth]{example-image}}

 \subfloat[]{\includegraphics[width =\linewidth]{example-image}}

 \subfloat[]{\includegraphics[width =.3\linewidth]{example-image}}
 \subfloat[]{\includegraphics[width =.3\linewidth]{example-image}}
 \subfloat[]{\includegraphics[width =.3\linewidth]{example-image}}
\caption{main caption}
 \label{f1}
\end{figure*} 

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.