TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my case the figure disappears.

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\usepackage{lipsum}
\usepackage{tikz}
\begin{document}
\begin{multicols}{2}
\lipsum[1]

\begin{figure}
  \begin{tikzpicture}
    \draw circle (1);
  \end{tikzpicture}
  \caption{Figure in two column}
\end{figure}

\lipsum[2]
\end{multicols}
\end{document}
share|improve this question
up vote 10 down vote accepted

If you want a figure with the width of a single column, and don't need it to float, you can also use the \begin{figure}[H] option of the float package to place it explicitly:

\documentclass[a4paper]{article}
\usepackage{multicol}
\usepackage{lipsum}
\usepackage{tikz}
\usepackage{float}
\begin{document}

\begin{multicols}{1}
\lipsum[1-3]
\begin{figure}[H]
  \centering
  \begin{tikzpicture}
    \draw circle (1);
  \end{tikzpicture}
  \caption{Figure in two column}
\end{figure}
\lipsum[3-4]
\end{multicols}
\end{document}

single column figure

share|improve this answer
1  
Thanks Jake!!!! – Regis da Silva Jul 20 '11 at 16:50
    
how could I insert the same figure but along the space of the two column? – Wathiq Zayed Oct 21 '15 at 13:31

You should get a warning, printed to the .log file:

Package multicol Warning: Floats and marginpars not allowed inside `multicols' environment!.

However, you could use figure*. See section 2.4 Floats inside a multicols environment in the multicol documentation.

Within the multicols environment the usual star float commands are available but their function is somewhat different as in the twocolumn mode of standard LaTeX. Starred floats, e.g., figure*, denote page wide floats that are handled in a similar fashion as normal floats outside the multicols environment. However, they will never show up on the page where they are encountered.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.