2014-11-29

I know there is available in the MATLAB Central File Exchange site the mcode.sty package, which allows to put MATLAB codes into TeX files.

http://www.mathworks.com/matlabcentral/fileexchange/8015-m-code-latex-package

However, there is also available in LaTeX a package called listings.sty, which I guess does pretty much the same thing.

http://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings

What is the difference between them? Are there any advantages or disadvantages?

Show more