Using latex packages in MATLAB markup publish

别说谁变了你拦得住时间么 提交于 2019-12-10 16:28:48

问题


I'm on Mac OSX 10.10.5 and MATLAB 2015b, and have now spent hours trying to follow various googled instructions for how to import LaTeX packages and use them in within MATLAB's markup 'functionality'. The most concise instructions I've found are contained here:

How do you use the LaTeX blackboard font in MATLAB?

http://mathforum.org/kb/message.jspa?messageID=7574110

However, nothing has so far worked. I've tried:

  1. copying .cls files to /Applications/MATLAB_R2015b.app/sys/tex/latex/base/ (and /Applications/MATLAB_R2015b.app/sys/tex/)
  2. editing my /Applications/MATLAB_R2015b.app/sys/tex/mwarticle.cls to \usepackage, \RequirePackage, or \include as described here
  3. editing my /Applications/MATLAB_R2015b.app/toolbox/matlab/graphics/tex.m file to \usepackage or \RequirePackage as described here
  4. appending texpath in .../tex.m with downloaded package zips or those with in my Tex distribution e.g. /usr/local/texlive/2014/texmf-dist/tex/latex/amsmath, .../source/latex/amsmath, and .../doc/latex/amsmath (both using the fullfile function and plain strings)

This is trivial with free software R and R Studio with R markdown documents. I'm very surprised this is so difficult for proprietry software, especially given that it has been noted as far back as five years ago

来源:https://stackoverflow.com/questions/33862212/using-latex-packages-in-matlab-markup-publish

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!