I would like to align 3 subfigures vertically (all on top of each other), and then have these on the right side of the page with text wrapping around them. I know how to use wrapfig for a single figure and subcaption and subfigure to get the 3 vertical figures, but I can't seem to put the them together.
Here is what I currently have for the subfigure alignment:
\documentclass[11pt,letterpaper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx,color,float,amssymb,amsmath}
\usepackage{pdfpages}
\usepackage{wrapfig}
\usepackage[font=small]{caption, subcaption}
\begin{document}
some text
\begin{figure}
\hfill\begin{minipage}[c][11cm][t]{.5\textwidth}
\vspace*{\fill}
\centering\captionsetup[subfigure]{justification=centering}
\includegraphics[width=.5\textwidth]{example-image-a}
\subcaption{}
\label{fig:5a}\par\vfill
\includegraphics[width=.5\textwidth]{example-image-b}
\subcaption{}
\label{fig:5b}
\includegraphics[width=.5\textwidth]{example-image-c}
\subcaption{}
\label{fig:5c}
\end{minipage}
\caption{subfigure}\label{fig:5}
\end{figure}
some text
\end{document}
Can anyone help figure out a way to wrap the text around this figure environment? Any help is appreciated, thank you!
\some
defined? You at least need to end the document and provide sufficient text for wrapping. (Maybe that's what the\some
is intended to do? Use e.g.example-image-a
in place ofimage1
etc. (there's-b
and-c
for2
and3
). Consider usingkantlipsum
orlipsum
for the text.letterhead
should beletterpaper
.