Export from Live Script into LaTeX Improvement

版本 1.0.0 (2.1 KB) 作者: Jan Koprnický
The improvement concerns the modification of the matlab.sty file that is created during export phase.
384.0 次下载
更新时间 2019/11/25

查看许可证

Live Script document is possible to export into several formats (PDF, Word, HTML, LaTeX). Actually the form of automatic LaTeX export does not match the Matlab-language syntax highlighting, and it does not solve problems by special characters displaying (e.g. special letters or symbols in comments or in text strings).
The improvement is in modification of matlab.sty:
- adding required package matlab-prettifier (package in LaTeX distributions)
- changing lst-style into Matlab-editor
- adding special characters in lstset from following link:
https://stackoverflow.com/questions/1116266/listings-in-latex-with-utf-8-or-at-least-german-umlauts

In matlabINF.sty there are special Czech characters support, but it is possible to use the same technique for supporting other languages as well (see the link above).

引用格式

Jan Koprnický (2024). Export from Live Script into LaTeX Improvement (https://www.mathworks.com/matlabcentral/fileexchange/73438-export-from-live-script-into-latex-improvement), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Live Scripts and Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0