# Graphics in-line with wrapping text

I am trying to get several lines of text to align next to an image, but only one line appears. How can I get the rest of the next paragraph to appear next to Figure 1? TIA!!!

Code used:

\begin{minipage}{\linewidth}
\begin{figure}[H]
\caption{Lithium-ion battery operation}
\includegraphics[width=1\textwidth]{"LIB_image".png}
\label{fig:LIB_image}
\end{figure}
\end{minipage}

• Welcome to TeX SX! Could you show us the code you use for this? – Bernard Aug 20 '16 at 22:20
• see the wrapfig package – David Carlisle Aug 20 '16 at 22:21
• Sorry, here is the code: \begin{minipage}{\linewidth} \begin{figure}[H] \caption{Lithium-ion battery operation} \includegraphics[width=1\textwidth]{"LIB_image".png} \label{fig:LIB_image} \end{figure} \end{minipage} – Rev Ill O Aug 20 '16 at 23:02
• What is TIA ??? – cfr Aug 20 '16 at 23:02
• Please make your code compilable. You can use a standard image (e.g. example-image-a). Also, your example doesn't have any long text in it. – cfr Aug 20 '16 at 23:03

Something like this?

\documentclass{article}

\usepackage{float}
\usepackage{graphicx}
\usepackage{lipsum}

\begin{document}

\begin{tabular}{cc}
\begin{minipage}{0.5\textwidth}
\begin{figure}[H]
\caption{Lithium-ion battery operation}
\includegraphics[width=1\textwidth]{example-image-a.png}
\label{fig:LIB_image}
\end{figure}
\end{minipage}
&
\parbox{0.45\textwidth}{\lipsum[1]}
\end{tabular}

\end{document}


Your text is obviously shorter than what lipsum produced...