## Tuesday, June 07, 2011

### Figure spanning 2 columns in Lyx

We are using Lyx to write our paper (using IEEEtrans class, which is a 2-column layout). In this paper we have a figure that is to big to fit into one column. Poking here and there, I could not find information on how to do it. Searching the internet found pointers to do it in LaTeX, but no information on how to do it in Lyx.

Finally, I decided to read the .lyx source manually (with "vi", of course). I found this line:

\begin_layout Standard\begin_inset Float figureplacement htbpwide falsesideways falsestatus open

So, I changed the "wide false" to "wide true". And now my figure spans into two columns. I am a happy camper now. I hope it helps.

za said...

Where will this paper be submitted? Good luck, cheers! :-)

Blogilicious Kito Palembang said...

will try now, thanks mate

XenonC said...

Right click on the "float: Figure" and choose "Settings", then you'll see the "Span columns" and some advanced placement options.

Hope this helps.

Anonymous said...

Hi there,
When I click "span columns" then run the pdf my figure disappears, is there a way of preventing this?
Thanks!

Anonymous said...

I have the exact same problem.. when I click span columns it automatically deselects. How can I stop this?