samedi 29 novembre 2014

What is the difference between \usepackage{mcode} and \usepackage{listings} for MATLAB codes?


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?


Thanks in advance.


Francesco.-





Aucun commentaire:

Enregistrer un commentaire