# How can I have two columns?

I want a simple code for building this simple effect:

Two columns: First column should contain the text and the second one should contain the image

• A MWE would be helpful. Further: It is important to know your document calss you want to use. Maybe this class has a simple option for two/multi column layouts -- usually this is described in the class manual. – HATEthePLOT Feb 8 '16 at 13:05
• Is the text wrapping around the image? Or not? Is the whole document in two columns? Or only this part? – Alenanno Feb 8 '16 at 13:10
• Or look at the various packages that accommodate figure placement, such as wrapfig. – JPi Feb 8 '16 at 13:10
• I am using \documentclass[12pt,journal,onecolumn]{IEEEtran} can improve the code of eric????? – Luca Angelino Feb 8 '16 at 21:13
• the whole document have one columns and where there are images 2 colomns – Luca Angelino Feb 8 '16 at 21:13

You can archieve this for example by using minipages:

\documentclass{article}
\usepackage{float}
\usepackage{graphicx}
\usepackage{blindtext}

\begin{document}

\noindent \begin{minipage}{0.5\textwidth}
\blindtext
\end{minipage}
\begin{minipage}{0.5\textwidth}
\begin{figure}[H]
\includegraphics[scale=0.4]{grafiken/verwendensieelearning.png}
\caption{\label{fig:blue_rectangle} Rectangle}
\end{figure}
\end{minipage} \hfill

\end{document}


For more info you can find alot on tex.stackexchange about minipages

Check out this or look here or maybe here or...

Good luck =)