This modified version of the mxdom2latex.xsl file allows you to publish to LaTeX with m-code highlighted as it appears in the Matlab editor, using the matlab-prettifier LaTeX package.
Julien Cretel (2021). Jubobs/pretty_publish (https://github.com/jubobs/pretty_publish), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!