GeneralMulticol environment with float help

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
persona_non_grata
Posts: 3
Joined: Wed Mar 05, 2008 7:46 pm

Multicol environment with float help

Post by persona_non_grata »

Hi,

I am trying to write my masters project in physics and I have come across a problem. I would like my abstract to span two columns, but the body of my document to be in two columns, so i have ended up using the multicol environment.

Now, I want to put a figure in which spans only one column, and appears in the text. When I try the normal \begin{figure} the figure does not appear. However, if I use \begin{figure*} it appears at the top, an improvement but not where I want it. Does anyone know how to make a figure appear in the text in the multicol environment?

I have searched google for a while and found that people have had the same problem, but can't find any sort of solution.

Thanks in advance for your help.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

darckhart
Posts: 34
Joined: Mon Jul 09, 2007 4:04 am

Re: Multicol environment with float help

Post by darckhart »

+1

has confused me for a while too. I have read that the problem is that latex won't "float" them into one column and a possible solution is to force place that fig/tbl in a specific spot.
persona_non_grata
Posts: 3
Joined: Wed Mar 05, 2008 7:46 pm

Re: Multicol environment with float help

Post by persona_non_grata »

I read that too, and I have tired using the placement: \begin{figure}[h] blah blah blah.

However, again this does nothing :(
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Multicol environment with float help

Post by gmedina »

Try using the H option of the \floatplacement command provided by the float package.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
persona_non_grata
Posts: 3
Joined: Wed Mar 05, 2008 7:46 pm

Re: Multicol environment with float help

Post by persona_non_grata »

Thanks very much gmedina! That has solved my problem :) Now I have to get back to actually writting the paper :(
Post Reply