I have the following piece of brief code. As you see, when I am using verbatism
after the wrapfigure
in the left mode {l}, the generated pdf file is a mess. But it is ok if I use wrapfigure
with {r}. I appreciate any suggestion to solve the issue with the {l} mode. Thanks
\documentclass[a4paper,12pt,onecolumn]{report}
\usepackage{graphicx}
\usepackage{wrapfig}
\begin{document}
\begin{wrapfigure}[9]{l}{0.25\textwidth}
\includegraphics[width=0.25\textwidth]{figs/Poly}
\caption{Wrapfigure used to put this figure here!!}\label{fig:right_fig}
\end{wrapfigure}
Finally, lets try multi-figure commands and see how it works. An example is shown in Fig.~\ref{fig:Multifigure} where we have a $2\times2$ image which is inserted by the following code.
\begin{verbatim}
\begin{figure}
\begin{subfigure}{.5\textwidth}
\centering
\includegraphics[width=.9\linewidth]{figs/Poly}
\caption{} \label{fig:Multifigure1}
\end{verbatim}
To plot data -- either save in a .txt file or some numbers -- using LaTeX, the "pgfplots" package should be added at the preamble. To import data from a .txt file, the "tikz" package should be added, too. The following is an example...
\end{document}