Graphics, Figures & Tablesmulticol | Floating Figure disappears

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

multicol | Floating Figure disappears

Post by 21did21 »

hello world,

i try to insert a picture in one columns in my document which is in two columns but it don't works (my figure disappear) :cry: i don't understand why :

Code: Select all

\begin{multicols}{2}
\begin{figure} %permet de faire une figure flottante
\begin{center} %pour centrer la figure
\includegraphics[scale=0.3]{iopipipiopoiuy.ps}
\end{center}
\caption{fghjfghfghfg} %légende de la figure
\label{zdokhze}
\end{figure}
\end{multicols}
can you explain to me how i can correct this ?

thanks :D
Last edited by 21did21 on Tue Feb 21, 2012 1:11 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

multicol | Floating Figure disappears

Post by localghost »

For a figure spanning the full width you can use the starred figure*. You may also take a look at the cuted package from the sttools bundle and its strip environment.


Thorsten
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: multicol | Floating Figure disappears

Post by 21did21 »

thanks Thorsten

we can't with multicol ? :(
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

multicol | Floating Figure disappears

Post by localghost »

21did21 wrote:[…] we can't with multicol ? […]
What do you want to do with multicol? Do you want to have a figure in a single column? Floats in single columns are not possible. You will have to place them absolutely. For this you can use the \captionof command from the caption package.
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Re: multicol | Floating Figure disappears

Post by 21did21 »

ok, thanks :D
Post Reply