M-code LaTeX Package

versión (47.5 KB) por Florian Knorn
Easily include nicely syntax highlighted m-code in your LaTeX documents.

153,4K descargas

Actualizada 11 Nov 2015

Ver licencia

Nota del editor: Popular File 2012 2013 2015 2016 2018 2019 2020

There are many packages out there that do pretty much the same. However, there are also usually many settings and tweaks needed to get it to look just right.
This package saves you from all this hassle — just include it and you're done.
I originally wrote this package for myself to have colourful source code highlighted in LaTeX, looking exactly like in the Matlab editor — being able to just copy-paste the code directly (no pre-treatment with highlight.m or the likes), or simply give a file name and have its contents included and syntax highlighted.
Again, this packages relies on a bunch of other packages (and in particular the listings package for the actual work), but spares you from loads of configurations... So please first check the source code or the configuration options of the packages used if you have any issues.
I've also thrown together a small demo-document (now included) which should give you a quick example on how to actually use the package.

Citar como

Florian Knorn (2022). M-code LaTeX Package (https://www.mathworks.com/matlabcentral/fileexchange/8015-m-code-latex-package), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R13
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!