Hi.. I'm trying to get some matlab code into a lyx document. I copied
and pasted the code from matlab onto emacs and then tried "insert"ing
the file in lyx but all the formatting is gone.. i.e., the indentations
for the if/while/for loops, the lines in between etc. are all missing. I
get just the lines of code without any of the formatting. I tried
copying and pasting from emacs onto Lyx but that didn't work either. Is
there any way of getting the code into lyx while preserving the
formatting?

Thanks,
nirmal


Reply via email to