I have a question with algorithm environment. When I insert a float algorithm box and then paste my source code from emacs to lyx, all new lines disappear and I have to add them manually. I understand that this has something to do with the way latex deal with newlines but is there a way to keep the format of pasted text?
-- Bo Peng
