I'm trying to write a document using LaTeX using IEEEtran.cls (two sided by default). In my document, I have a portion of code, which has a big width. It would look nice to switch from the two sided mode to a one side, write the code and switch bag again. How can I do this in LaTeX?
I have tried \setboolean{@twoside}{false} but it doesn't work (no error, it just doesn't do what expected). Using \onecolumn before the code it works, but it begins with a new page.
There is any way to solve this? Btw, I'm using MiKTeX.