Home > Net >  latex organize three images
latex organize three images

Time:10-22

I am having hard time organizing just three images in latex, I know it souond silly but any help? this is the code

\documentclass[10pt,a4paper]{article}
\usepackage{float}
\usepackage[a4paper,margin=0in,footskip=0in]{geometry}
\usepackage[export]{adjustbox}
\usepackage{graphicx}

\begin{document}
\begin{figure}
\includegraphics[width=0.45\textwidth,right]{4}
\includegraphics[width=0.45\textwidth,right]{5}
\includegraphics[width=0.5\textwidth,left]{6}
\end{figure}

\end{document}

and the desired result it should look like this enter image description here

CodePudding user response:

You could use minipages:

\documentclass[10pt,a4paper]{article}
\usepackage{float}
\usepackage[a4paper,margin=0in,footskip=0in]{geometry}
\usepackage[export]{adjustbox}
\usepackage{graphicx}

\begin{document}
\begin{figure}[htbp]
\begin{minipage}[t]{.45\textwidth}%
\includegraphics[width=\textwidth,valign=T]{example-image-9x16}
\end{minipage}%
\hfill%
\begin{minipage}[t]{.45\textwidth}
\includegraphics[width=\textwidth,valign=T]{example-image-duck}%

\medskip
\includegraphics[width=\textwidth,valign=T]{example-image-duck}%
\end{minipage}%
\end{figure}

\end{document}

enter image description here

  • Related